AI OnAI Off
Thanks for the table template suggestion, @paul. We may use it.
Thanks for the suggestion. We are using a v12 headless setup, with an Angular Front End. So I ended up making a custom XHTML Property Model that updates the XHTML String with the cleaned values before JSON Serialization runs.
It's not ideal, as TinyMCE still has the ="" in the source view, but at least our Front End doesn't need to strip out the extra characters.
Thanks!
We are using TinyMCE v4.4 in a v12.21 Episerver Core headless setup. The front end is an angular app. We are trying to allow some custom attributes that we use for Angular inside of Tiny MCE in the CMS editor.
Here’s an example of a table we’d like to use:
Note that all of the special attributes such as ‘lg-table’ are used by Angular to make the table data dynamic.
We’ve gotten pretty close in that we’re able to allow these custom attributes:
We are using the ‘extended_valid_elements’ to allow these attributes:
https://www.tiny.cloud/docs/tinymce/6/content-filtering/#extended_valid_elements
eg: .
However, when copying the first table into the WYSIWYG editor, and saving will then transform it into the second table. We’d like to remove all of the extra =”” from the attributes as these Attributes should be ‘empty’
Cheers,
Lance