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

150
Views
Prevent CKEditor 4 from wrapping [shortcode] in paragraphs

I have CKEditor 4 implemented in a custom development, and I'm having the problem that it wraps the [shortcodes] in paragraphs.

This makes the browser try to keep HTML semantic and generate empty paragraphs.

I need that when inserting

[shortcode-one] text [/ shortcode-one] [shortcode foo = "bar"]

it doesn't end up being

<p>[shortcode-one] text [/ shortcode-one] [shortcode foo = "bar"]</p>

I read the CKEditor 4 documentation and did some testing but no luck.

Also, ckeditor adds empty paragraphs, and we want to keep the ENTER_P functionality but get rid of the

<p>&nbsp;</p>

Any idea where the solution might be?

Thanks!

about 4 years ago · Juan Pablo Isaza
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!