mel47 Posted September 6, 2023 Share Posted September 6, 2023 Hi, Just update to 3.0.226 this weekend and my content screw up. I'm unable to avoid div to get strip of code editor. I try "extended_valid_elements" : "div" but without success. How I can achieve to keep div in TinyMCE? Thanks! Link to comment Share on other sites More sharing options...
AndZyk Posted September 6, 2023 Share Posted September 6, 2023 Hi @mel47, are the divs converted to paragraphs? If so you have to disable this in the input tab under "Markup toggles". This works for me. If the divs get stripped out while pasting, I think you have to allow them in the Pastefiler of the module settings: https://processwire.com/blog/posts/using-tinymce-6-in-processwire/#default-pastefilter-whitelist-rules Regards, Andreas 1 Link to comment Share on other sites More sharing options...
mel47 Posted September 7, 2023 Author Share Posted September 7, 2023 OMG, thanks so much. Apparently I skip this (closed) option. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now