I have an issue where TinyMCE is removing my links in my static CMS blocks. I believe this is because the anchor includes div's which doesn't meet the validation for TinyMCE.
How is it possible to update the TinyMCE validation to allow me to link my div's.
I've taken a look at the following file
lib/web/mage/adminhtml/wysiwyg/tiny_mce/setup.js
I believe this file is what handles the validation as I can see within the settings variable there is:
valid_elements': this.schema.validElements.join(','),
Although I am unsure how I can edit the Tiny MCE to allow me to link divs?
Any advise would be greatly appreciated.