Using TinyMCE fiddle for node filter to add id attribute to anchors
Unfortunately, there is not an addon (plugin) of the WP tinymce which provides the anchor functionality. Instead, it is part of the tiny_mce.js file WP uses in it’s ‘includes’ directory. That file is a monster… but if you unminify it.. you will notice two instances where the anchor element is defined. One looks like this … Read more