Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page content, create div arund images, how?
#5
(2013-10-02, 16:19:22)yardan74 Wrote: Another question crossed my mind:
Is there a way to prevent CK editor adding spaces in between <p>-tags if the paragraph it otherwise empty? So I could use
Code:
p:empty{display:none}
in css to clean the empty paragraphs away?

The attached plugin removes paragraphs containing only white space before displaying a page.


Attached Files
.php   empty_paragraph_remover.php (Size: 663 bytes / Downloads: 11)
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
RE: Page content, create div arund images, how? - by mvlcek - 2013-10-04, 05:25:31



Users browsing this thread: 2 Guest(s)