cs-cart 4. * tinymce how to enable advanced features of the editor?

Good day!

Please tell me how to enable advanced tinymce editor for cs-cart version 4. *??

thank you

You can change from Appearance and Administrator settings - Default wysiwyg editor: and choose TinyMCE

after you enable tinymce editor you need to edit file [color=#ff0000]js/tygh/editors/tinymce.editor.js[/color]

and here you find possible configuration



I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

Hi,





ligne 50 …



Plugins



plugins: [
"advlist autolink autosave link image lists charmap print preview hr anchor pagebreak spellchecker",
"searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
"table directionality emoticons template textcolor paste fullpage textcolor contextmenu colorpicker"

],




Toolbar



toolbar1: 'newdocument | fullpage | bold italic underline strikethrough | alignleft | aligncenter | alignright | alignjustify',
toolbar2: 'styleselect | formatselect | fontselect | fontsizeselect | colorpicker | forecolor | backcolor',
toolbar3: 'cut |copy |paste | searchreplace | bullist | numlist | outdent | indent | blockquote | undo | redo | link | unlink | anchor | image | media | code | inserttime preview',
toolbar4: 'table | hr removeformat | subscript superscript | charmap emoticons | print fullscreen | ltr rtl | spellchecker | visualchars visualblocks nonbreaking template pagebreak restoredraft',





plugin colorpicker http://www.tinymce.c…ic.php?id=33203



Lucien

tinymce_4.jpg

Hi Lucien,



That is what I was looking for. I tried to replace the code on [color=#FF0000][font=arial, verdana, tahoma, sans-serif][size=4]js/tygh/editors/tinymce.editor.js [/size][/font][/color]

And changed it to your code. But it didn't work.



Is there anything that I am missing?



Thank you,


[quote name='lulu51' timestamp='1393073313' post='178007']

Hi,





ligne 50 …



Plugins



plugins: [
"advlist autolink autosave link image lists charmap print preview hr anchor pagebreak spellchecker",
"searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
"table directionality emoticons template textcolor paste fullpage textcolor contextmenu colorpicker"

],




Toolbar



toolbar1: 'newdocument | fullpage | bold italic underline strikethrough | alignleft | aligncenter | alignright | alignjustify',
toolbar2: 'styleselect | formatselect | fontselect | fontsizeselect | colorpicker | forecolor | backcolor',
toolbar3: 'cut |copy |paste | searchreplace | bullist | numlist | outdent | indent | blockquote | undo | redo | link | unlink | anchor | image | media | code | inserttime preview',
toolbar4: 'table | hr removeformat | subscript superscript | charmap emoticons | print fullscreen | ltr rtl | spellchecker | visualchars visualblocks nonbreaking template pagebreak restoredraft',





plugin colorpicker http://www.tinymce.c…ic.php?id=33203



Lucien

[/quote]

[quote name='albertpro' timestamp='1393296613' post='178150']

Hi Lucien,



That is what I was looking for. I tried to replace the code on [color=#FF0000][font=arial, verdana, tahoma, sans-serif][size=4]js/tygh/editors/tinymce.editor.js [/size][/font][/color]

And changed it to your code. But it didn't work.



Is there anything that I am missing?



Thank you,

[/quote]



Hi Albertpro

If a plugin is not present in the tinymce directory that does not work



Lucien

thanks

[quote name='lulu51' timestamp='1393073313' post='178007'] Hi, ligne 50 … Plugins plugins: [ "advlist autolink autosave link image lists charmap print preview hr anchor pagebreak spellchecker", "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking", "table directionality emoticons template textcolor paste fullpage textcolor contextmenu colorpicker" ], Toolbar toolbar1: 'newdocument | fullpage | bold italic underline strikethrough | alignleft | aligncenter | alignright | alignjustify', toolbar2: 'styleselect | formatselect | fontselect | fontsizeselect | colorpicker | forecolor | backcolor', toolbar3: 'cut |copy |paste | searchreplace | bullist | numlist | outdent | indent | blockquote | undo | redo | link | unlink | anchor | image | media | code | inserttime preview', toolbar4: 'table | hr removeformat | subscript superscript | charmap emoticons | print fullscreen | ltr rtl | spellchecker | visualchars visualblocks nonbreaking template pagebreak restoredraft', plugin colorpicker http://www.tinymce.c…ic.php?id=33203 Lucien [/quote]Thanks for the info.

I see all the plug ins available on my install.

How do I know exactly what tools I may include in my tool bar?

Is their a particular folder I should look into ?

[quote name='Vali' timestamp='1381733096' post='169670']

after you enable tinymce editor you need to edit file [color=#ff0000]js/tygh/editors/tinymce.editor.js[/color]

and here you find possible configuration



I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

[/quote]The link above was very helpful. I learned a lot today about this. It is a very useful site.

Thank you,

Jim

[quote name='sydoruk' timestamp='1381064497' post='169262']

Good day!

Please tell me how to enable advanced tinymce editor for cs-cart version 4. *??

thank you

[/quote]Open this file [color=#FF0000][font=arial, verdana, tahoma, sans-serif][size=3]js/tygh/editors/tinymce.editor.js [/size][/font][/color]and find this [color=#008000]menubar:[/color] [color=#00ffff]false[/color], and make it [color=#008000]menubar:[/color] [color=#00ffff]true[/color], This will bring up a use ful menu. Don't forget to clear cache.

[quote name='lulu51' timestamp='1393073313' post='178007']

Hi,





ligne 50 …







plugin colorpicker http://www.tinymce.c…ic.php?id=33203



Lucien

[/quote]Very useful, 100 times better.

This is better afer I turned on the toolbar menu, but I'd like to be able to specify image wrap (top, bottom, left, right, center) and H & V margins around an image when I insert it.



Can someone post the code change to get this editor to do that? I read through the links, but it wasn't much help to my feeble brain.



TIA,

Jack

Thanks Jimmyod for the editor hack, I just upgraded the editor on three sites and made some people very happy.