Answer the question
In order to leave comments, you need to log in
How to remove the removal of an attribute without a value in tinymce?
Hello! When setting up micro-markup in contacts, it is necessary to register itemtype=" schema.org/Organization
"
for the itemscope div tag . In the tiny settings I set: valid_elements:"[*]"
All tags and attributes pass, except for those attributes that have no values, specifically in this case: itemscope
Does anyone know how to solve this issue?
Answer the question
In order to leave comments, you need to log in
Actually I found the answer myself :)) In the settings, we remove the purge:
$('textarea.tinymce').tinymce({
// Location of TinyMCE script
script_url : '../jscripts/tiny_mce/tiny_mce.js',
// ...
cleanup: false,
// ...
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question