Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
CKEditor 3.6 inroduces the long anticipated feature of turning autoparagraphing off by adding the following configuration setting:
config.autoParagraph = false; (default:true)
A checkbox in the GUI to toggle this feature on/off could be useful to many users.
This checkbox should ideally only be visible on systems with CKEditor ≥ 3.6 installed.
Comments
Comment #1
mkesicki CreditAttribution: mkesicki commentedHi,
@martijn.tsas thanks for report this. We will think about your idea but it sounds reasonably.
Comment #2
Danzki CreditAttribution: Danzki commentedWhere would i put this code?
I would really like CKeditor to turn one return into and two returns into
.
Comment #3
dczepierga CreditAttribution: dczepierga commented@Danzki, u can put this code in CKEditor profile (which u use for this textarea) -> Advanced settings section -> Custom JavaScript configuration.
Greetings
Comment #4
fuzzy76 CreditAttribution: fuzzy76 commented+1
Comment #5
Summit CreditAttribution: Summit commentedHi, Will this also work on D7 please? Where can I get this setting please? In which file?
Edit: May be I found it on: ckeditor\_source\plugins\wysiwygarea\plugin.js
Thanks a lot in advance for your reply!
Greetings, Martijn