Open wyklif opened 3 years ago
Tinymce has a rather strict code cleanup encase somebody copies text from MS Word/etc with unintended hidden html. https://www.tiny.cloud/docs-4x/configure/content-filtering/#custom_elements
You can overwrite this using field details e.g:
{
"tinymceOptions": {
"min_height": "300",
"extended_valid_elements": "i[class],span[class]"
}
}
Tinymce has a rather strict code cleanup encase somebody copies text from MS Word/etc with unintended hidden html. https://www.tiny.cloud/docs-4x/configure/content-filtering/#custom_elements
You can overwrite this using field details e.g:
{ "tinymceOptions": { "min_height": "300", "extended_valid_elements": "i[class],span[class]" } }
Hi @howdu thanks for the reply, i will try this
Version information
Description
When adding HTML code to the WYSIWG the code gets automatically stripped off and some tags are removed
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Pasted HTML should be saved as is
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.