Jump to content

Is there any richer text editor?


Recommended Posts

unfortunately it isn't possible to use other "rich editor" engine. Prestashop allows to use only tinyMCE editor.

as far as i know joomla uses CKEditor, it's very similar to tinyMCE.

 

what you exactly expect? what features you need in rich editor? maybe there is way to extend it (yes! it is possible)

Link to comment
Share on other sites

This is the whole point. They are missing from the tabs that you see, but in the code lines you gave me, they exist.

 

    theme_advanced_buttons1 : "save,newdocument,bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect, fontselect,fontsizeselect",

                                  theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,search,replace,bullist,numlist,outdent,indent,blockquote,undo,redo,link,unlink,anchor,image,cleanup,help,codemagic,insertdate,inserttime,preview,forecolor,backcolor",
                                  theme_advanced_buttons3 : "code,tablecontrols,hr,removeformat,visualaid,sub,sup,charmap,emotions,iespell,media,advhr,print,ltr,rtl,fullscreen",
                                  theme_advanced_buttons4 : "styleprops,cite,abbr,acronym,del,ins,attribs,visualchars,nonbreaking,template,pagebreak,restoredraft,visualblocks",
                                  theme_advanced_toolbar_location : "top",
                                  theme_advanced_toolbar_align : "left",
                                  theme_advanced_statusbar_location : "bottom",
                                  theme_advanced_resizing : false,
                                                    extended_valid_elements: 'pre[*],script[*],style[*]',
                                                    valid_children: "+body[style|script],pre[script|div|p|br|span|img|style|h1|h2|h3|h4|h5],*[*]",
                                                    valid_elements : '*[*]',
                                                    force_p_newlines : false,
                                                    cleanup: false,
                                                    forced_root_block : false,
                                                    force_br_newlines : true
Edited by avrilev (see edit history)
Link to comment
Share on other sites

thanks for all informations and your attention, i thought that default prestashop tinymce editor has got these features, and after modifications they disappeared.

 

as i can see now, the problem is related to differencies between joomla editor and prestashop editor

i need to check joomla sources, you're talking about latest version of joomla engine?

Link to comment
Share on other sites

Try adding "directionality" in the plugins beside adding "rtl" & "ltr" in the theme_advanced_button

I did. No effect at all. To tell you the truth, adding this made the text area to show in code...

thanks any way.

 

I got to draw your attention to the fact that many features are simply not displaying, not only those rtl ltr ones. for ex. the search and replace are missing too although they are mentioned in the second row...

 

What i think is that there is a constriction of some sort that does not allow some features to show.

 

I tried to enter the following code: (after line 60)

 

                function updateMCE ( elemId, direction) {

    var iFrame = document.getElementById(elemId + '_ifr');

    if ( iFrame && iFrame.contentWindow ) {

        iFrame.contentWindow.document.getElementById('tinymce').setAttribute('dir',direction);

    }

}

 

 

but I don't know if the issue is solved... (I meen showing rtl ltr..);

in any case, what happens now is that all rtl are align to the right and are true rtl when choosing the correct language... and it does'nt metter what characters you choose, in a rtl text area, there is going to be always:

text-align:ritgh & direction:rtl.

 

To be politically correct ( :rolleyes: ) these lines of code belong to a guy from the tinyMCE forum and they were written on April 2009. Thanks a lot ajmas

Edited by avrilev (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...