You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  Sunday, 14 April 2019
  5 Replies
  12.3K Visits
Hi Ryan,
since the articles on our website are getting longer and longer, I've been searching for an equivalent of the WP Table of Contents plugin.
I found some like Quick-Index from RegularLabs but also a nice plugin for the TinyMCE:
Editor - Article - Table of Contents
Is there a possibilty to enhance JCE (Pro) the same way?

Thanks,
Björn
more than a month ago
·
#99921
but also a nice plugin for the TinyMCE: Editor - Article - Table of Contents


This plugin will work with JCE. The button will be visible below the editor, not in the editor toolbar.

https://cdn.joomlacontenteditor.net/tmp/99396-table-of-contents-plugin.jpg

There is however one issue with it, that is easily fixed. After installing and enabling the plugin, edit plugins/editors-xtd/articletoc/articletoc.php and change line 36 from:


$button->onclick='createTOC(\''.$name.'\', \''.$headerText.'\');';


to


$button->onclick='createTOC(\''.$name.'\', \''.$headerText.'\');return false;';

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#107814
Hi

it's works perfect with this fix ;-), thanks a lot
more than a month ago
·
#111189
I would like to second this feature. It would be great to have a "TOC" button in the JCE Pro edition, without having to mess with file editing (I'm not sure if you have to re-edit the file after certain Joomla updates). I found this here: https://github.com/widgetfactory/jce-editor-toc.
more than a month ago
·
#111190
I found this here: https://github.com/widgetfactory/jce-editor-toc.


Yes that's new. Try it out.

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#111191
That plugin works flawlessly. Two thumbs up!
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!