Closed proxymus closed 8 years ago
SHIFT-RETURN creates a single line break. RETURN on its own creates a new paragraph.
I would like to have single line breaks within my text, but this isn't working for me. When I edit the example above I can see that the single line break is saved, but in the "view mode" I have paragraphs between each line.
I'm afraid I don't follow the above. If the single is saved then what is the 'view mode' where it shows as a paragraph?
Also, you say 'latest" version: what is the version number, which you can get by clicking on the ?
in the toolbar. Is it the version using CKEditor 4.5.1 or 4.5.7? And what is the version date? This is my result using the 4.5.7 version:
I use the version 4.5.7 (https://github.com/turnermm/ckgedit/archive/farms_4.7.zip).
I've written that:
This is the source code view: After I've saved the page this is the result:
I hope it is now a bit clearer.
I found the difference. Ckgedit saves the line break as \\
and the native dokuwiki editor doesn't use this.
CKGEDIT:
DWEDIT:
\\
is working in the list element, but not in normal text.
This is working with ckgedit. I assumed that I could use Shift+Enter, because this is working in the default DW editor too. I've used the \\
only within list elements.
Truthfully, I am not following you. SHIFT+ENTER is not a dokuwiki editor function, it is a ckgeditor function. However, in the ckgeditor, you can actually insert the double backslash, just as in the default edtior, and you will get single line spacing. In the dokuwiki editor, if you are in a list and hit SHIFT+ENTER, you will get another list item, not a single spaced line. If you are not in a list and hit SHIFT+ENTER in the dokuwiki editor, when you save the document, the line break will disappear.
You are right. We have installed the xbr plugin (https://www.dokuwiki.org/plugin:xbr) which preserves the line breaks. I did not think about that.
Thank you for clarification. Now I can use the default rendering engine again. :)
Hello, I use he latest farm branch of ckgedit. In the classic DW editor I can write a text with line breaks like this:
When I save this with ckgedit I will get the following:
How can I realize a new line / line break (without paragraph) with ckgedit? I can use SHIFT+ENTER, but this isn't saved.
Thank you in advance.