Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

140
Views
TinyMCE Removing HTML Elements

I'm writing contents that has example HTML tags in it.

I've already tried all these attributes:

tinyMCE.init({
    // ...
       cleanup: false,
       cleanup_on_startup: false,
       verify_html: false,
       extended_valid_elements : '*[*]',
});

After saving, everything is OK: After Saving

But when I reopen it, TinyMCE deletes all the HTML tags in my text: reopen

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

How is the content being stored in your database?

If you want to use a code example that includes HTML, you must use HTML entities for your < and >. If you don't do this, it will be interpreted as actual HTML.

&lt;title&gt;Example Title&lt;/title&gt;

Also, have you looked into TinyMCE's Code Sample plugin to show code examples? https://www.tiny.cloud/docs/plugins/opensource/codesample/

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!