Opened 11 years ago
Closed 11 years ago
#11202 closed Bug (fixed)
No newline at BB-code mode
Reported by: | Dennis1993 | Owned by: | Piotr Jasiun |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 4.3.1 |
Component: | Core : Output Data | Version: | 4.3 |
Keywords: | Cc: |
Description
I've upgraded my CK-Editor to 4.3.
Since I can do no more newline. After saving everything is in one line. In the demo here on ckeditor.com that does not work.
Test it: http://ckeditor.com/demo#bbcode
Reproduce:
- Write a text with multiple line breaks
- Click on Source code
- You can see, that all text is in one line
The editor is thus completely useless! Please fix it quickly!
THANKS!
Change History (9)
comment:1 Changed 11 years ago by
Milestone: | → CKEditor 4.3.1 |
---|---|
Status: | new → confirmed |
comment:2 Changed 11 years ago by
Priority: | Normal → High |
---|
comment:3 Changed 11 years ago by
Hey Reinmar,
thanks for your answer. I have added your workaround and it works. I hope you can fix it in next version!
Thank you very much!
comment:4 Changed 11 years ago by
Owner: | set to Piotr Jasiun |
---|---|
Status: | confirmed → assigned |
comment:5 Changed 11 years ago by
Status: | assigned → review |
---|
BBCode plugin should set editor.activeEnterMode
instead of editor.config.enterMode
.
Changes in t/11202 and corresponding test branch.
comment:6 Changed 11 years ago by
Summary: | No newline at BB-code mode possible!!!! → No newline at BB-code mode |
---|
comment:7 Changed 11 years ago by
Status: | review → review_passed |
---|
Rebased branch on latest master.
Pushed two commits:
- Explained the change.
- Reverted the extension of
config#enterMode
for backwards compatibilty so[ CKEDITOR.instances.editor1.config.enterMode, CKEDITOR.instances.editor1.enterMode, CKEDITOR.instances.editor1.activeEnterMode ].join( ', ' ); > "2, 2, 2"
when running
plugins/bbcode/samples/bbcode.html
. Some people may combine bbcode plugin with 3rd party plugins that still rely onconfig#enterMode
; better not break that dependency (yet).
comment:9 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Confirmed.
Simple workaround for now - add this to config: