dimanche 13 avril 2014

customize ck editor buttons


Vote count:

0




I cannot understand the documentation for ck editor or at least find a page that list all of the bars. All I want to do is add is add Left-Center-Right alignment, and UL/LI. I easily added strike and underlining.


The really made it a lot harder than it should have been.



<script> CKEDITOR.replace( 'Nihon',
{
width: 739,
height: 125,
allowedContent:
'h1 h2 h3 p blockquote strong em strike u;' +
'a[!href];' +
'img(left,right)[!src,alt,width,height];' +
'table tr th td caption;' +
'span{!font-family};' +
'span{!color};' +
'span(!marker);' +
'del ins'}

); </script>


asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire