WYSIWYG / TinyMCE edit h1,h2,h3 id's

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
lucid
Forum Members
Forum Members
Posts: 29
Joined: Mon Nov 12, 2007 2:48 pm

WYSIWYG / TinyMCE edit h1,h2,h3 id's

Post by lucid »

Hi,

I was wondering if anyone knows if there is a WYSIWYG / TinyMCE plugin to edit the "id" in a header tag.

It's possible to automatically generate a TOC (link below) but there needs to be unique "id" specified for each header tag. It would be great to be able to add the id (Packages) through the WYSIWYG / TinyMCE editor similar to adding an anchor (see picture). Does anyone know how?

http://wiki.cmsmadesimple.org/index.php ... f_contents


Thanks
Attachments
Picture 2.jpg
lucid
Forum Members
Forum Members
Posts: 29
Joined: Mon Nov 12, 2007 2:48 pm

Re: WYSIWYG / TinyMCE edit h1,h2,h3 id's

Post by lucid »

I couldn't find a answer so I opted to a second solution:

The UDT TOC can also work based on anchor tags in the TinyMCE editor (it's for a some one that can't use HTML so creating a TOC with the WYSIWYG editor is ideal) so I just tweaked the UDT so that it will create the TOC based on the anchor tag.

That's my work around cause I can't work out how to edit the id tag of the the h3.



http://trnexus.edu.au
Post Reply

Return to “Developers Discussion”