AbanteCart Community

Shopping Cart Operations => Support => Topic started by: iron on March 30, 2016, 12:09:56 PM

Title: TinyMCE editor functionality
Post by: iron on March 30, 2016, 12:09:56 PM
There is an unappreciate change in 1.2.6 update - now in Visual mode of text editor a Table button disappointed. TinyMCE itself is features reach, but here it's functionality is cutted. Features are disabled for reason as they cause conflicts, but is it other decision except of using external HTML editors and copy/paste HTML?
Title: Re: TinyMCE editor functionality
Post by: Basara on March 31, 2016, 02:48:43 AM
Hello.

TinyMCE is powerful editor with tons of plugins and features. You can add your own plugins and enable them if you need additional features.
For example to add Table feature to visual editor you need do minor changes to one file public_html/admin/view/default/template/common/head.tpl
add
Code: [Select]
,table to this lines
https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/view/default/template/common/head.tpl#L87
and
https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/view/default/template/common/head.tpl#L93

Thats all. The table plugin already included in AbanteCart https://github.com/abantecart/abantecart-src/tree/master/public_html/admin/view/default/javascript/tinymce/plugins


Thank you for your question

Title: Re: TinyMCE editor functionality
Post by: iron on March 31, 2016, 08:06:47 AM
Thanks a lot, Basara!

It seems this plugin could be On by default.

Best regards
Title: Re: TinyMCE editor functionality
Post by: Basara on April 04, 2016, 03:18:29 AM
Hello.
Table button will be enabled in new release 1.2.7
Thank you for suggestion  ;)