Open nvyush opened 7 years ago
How about to add class btn to the 'Toggle Editor' link? Modern Joomla! templates (e.g. "protostar" for the site, "isis" for the admin panel) support this css class, for older it is no matter.
btn
File /components/com_jce/editor/libraries/js/editor.js: replace (line 391) '<span id="wf_editor_' + el.id + '_toggle">' with '<span id="wf_editor_' + el.id + '_toggle" class="btn">'
/components/com_jce/editor/libraries/js/editor.js
'<span id="wf_editor_' + el.id + '_toggle">'
'<span id="wf_editor_' + el.id + '_toggle" class="btn">'
File /administrator/components/com_jce/views/profiles/tmpl/form_features.php replace (line 59) <span id="editor_toggle"> with <span id="editor_toggle" class="btn">
/administrator/components/com_jce/views/profiles/tmpl/form_features.php
<span id="editor_toggle">
<span id="editor_toggle" class="btn">
Thank you for your contribution.
The Toggle Editor link is removed in JCE 2.6+
https://www.joomlacontenteditor.net/downloads/editor/category/development
https://github.com/widgetfactory/jce-muon
How about to add class
btn
to the 'Toggle Editor' link? Modern Joomla! templates (e.g. "protostar" for the site, "isis" for the admin panel) support this css class, for older it is no matter.File
/components/com_jce/editor/libraries/js/editor.js
: replace (line 391)'<span id="wf_editor_' + el.id + '_toggle">'
with'<span id="wf_editor_' + el.id + '_toggle" class="btn">'
File
/administrator/components/com_jce/views/profiles/tmpl/form_features.php
replace (line 59)<span id="editor_toggle">
with<span id="editor_toggle" class="btn">