Comments (15)
Dokuwiki does not support alignment, except for images. For other alignments you need plugins.
Shift+enter should give you a single linefeed.
from ckgedit.
Thx.
So the ckeditor's default alignment functions don't work in dokuwiki: {name:"paragraph",items:["JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock"]} ?
Shift+Enter give a single row in ckgeditor, but after press the save, it disappear in dokuwiki and ckgeditor too. If I put more then one shift+enter, the ckgeditor's saving delete only 1 empty row, but ckgeditor do it every time when i press save, so finally it deletes all empty rows.
from ckgedit.
line 1 <shift+enter>
line 2
Should give you in Dokuwiki:
line 1 \\
line 2
In HTML markup the \ is converted to <br />
.
The ckgedit parser will delete multiple rows of empty lines.
from ckgedit.
The ckgedit parser will delete not just the multiple rows of empty lines, but always deletes a
until it deletes all of them, when you edit and save the text in ckgedit. I show you in source view, what's happening :
- Start (in ckgeditor):
<p>1. line: blabla</p>
<p>2. line: end</p>
- After I add 2 shift+enter to it, but still not save it:
<p>1. line: blabla<br />
<br />
& n b s p ; </p>
<p>2. line: end</p>
- After the 1. save and press edit button again it delete a <br />,I changed nothing:
<p>1. line: blabla<br />
& n b s p ; </p>
<p>2. line: end</p>
- After the 2. save and press the edit button again it delete the last <br /> too, I got back the original state without empty row. I changed nothing:
<p>1. line: blabla</p>
<p>2. line: end</p>
from ckgedit.
I am not sure I follow this or what exactly you want to happen. Shift+enter should create a single-space between two lines. You don't use shift+enter to create extra line-spacing. If you want double spacing, just use the enter key.
from ckgedit.
Shift+Enter and Enter working same like in MS Office Word: Shift+Enter is the Line Break, Enter is the Paragraph Break.
The problem is complex:
1.) single-space or double-space not often enough, need more space.
1.a) You can't put multiple enter sequentially, because ckgedit parser will delete them, it just left one. (it's just double spacing).
1.b) You can put multiple Shift+Enter sequentially, but just very limited: You can put multiple shift+enter sequentially only if you use it within a paragraph and there is text before and after the Shift+Enters. So you can't put empty rows at the begin or end of a paragraph neither Shift+Enter.
2.) I would like to formating a NumberedList or BulletedList: default the is only single-space between two numbered paragraph, but i would need at least double-space.
2.a) I can't put Enter to double-space, because one Enter makes a new Numbered row, two Enter make a Numbered List.
2.b) I can't put multiple Shift+Enter to double-space, because of 1.b) point.
from ckgedit.
2.) I would like to formating a NumberedList or BulletedList: default the
is only single-space between two numbered paragraph, but i would need at least double-space.
2.a) I can't put Enter to double-space, because one Enter makes a new Numbered row,
two Enter make a Numbered List.
See: http://www.mturner.org/devel/doku.php?id=playground:line_spacing
For spacing between paragraphs see bottom of that page:
Spaces between and before paragraphs
from ckgedit.
Sorry! I was on vacation.
My problem appears on your linked example pages: I would like double space (or maybe more) between the following rows:
" double spaced
2. Ordered 2"
from ckgedit.
I'm not sure what your problem is.
See the example again at "(multiple line-feeds between this and next using shift+enter)"
Done using both Chrome and Firefox.
from ckgedit.
Open page to edit. Don't make any change, just press save button. The save process delete 1 empty row.
Repeat it until ALL empty row will deleted! That's my problem: ALL EMPTY ROW will DELETE. Finally don't remain any empty row.
from ckgedit.
Can't reproduce this in either Chrome or Firefox on Windows 7. What browser are you using and what OS?
from ckgedit.
Firefox on Windows 7.
What DokuWiki do you use? I use Release 2014-05-05a DokuWikiStick version.
from ckgedit.
I see that this is true when there is nothing following the blank lines in that list item . That is, if you have blank lines followed by the next list item with no text between:
item 1
blank
blank
blank
item 2
You can get around this by inserting the ~~MULTI_PLUGIN_CLOSE~~
macro after your final blank line.
So:
item 1
blank
blank
blank
~~MULTI_PLUGIN_CLOSE~~
item 2
from ckgedit.
Wow. Thanks. It works.
I hope you can find why delete it the empty rows and you can fix it!
This is a cool plugin. It would be really great if all (original) ckeditor feature would work in DokuWiki.
Thanks for your help and plugin.
from ckgedit.
ckgedit can do only what Dokuwiki can do; otherwise it needs a Dokuwiki plugin. The "insert a footnote" and the "signature" tools are ckgedit plugins which I created for the purpose of inserting Dokuwiki markup into the page. The font tools --color, face, and size--are native CKeditor tools which ckgedit converts to markup for which I made a Dokuwiki plugin.
from ckgedit.
Related Issues (20)
- Installation has created write problem for all but superuser of DokuWiki HOT 3
- Add Target for links HOT 1
- CKGEdit Browse not showing Internal data HOT 1
- Problem with PHP8 HOT 15
- A warning above the editor and settings page and a problem when saving the settings HOT 3
- Can't see any files in file browser when trying to link to "Internal media" HOT 6
- Buttom "CKG Edit" does not show custom translation in Chrome HOT 3
- Tons of warnings with PHP 8.1 HOT 2
- Multiple rowspans in table row get mixed up HOT 9
- Opening file browser in CKG crashes CKG instrument bar HOT 4
- PHP8.1 errors when opening ckgedit HOT 1
- Errors when used with linuxserver.io docker image
- Updated Plugin: getting errors when saving a table
- Issues inserting images. Incorrect media path. HOT 5
- Some Errors after installing with PHP 8.0.3 on Microsoft Server 2019 IIS HOT 2
- Button Icons missing HOT 7
- CKGEdit Plugin - Code Blocks - space before
- MULTI_PLUGIN in combination with listings HOT 2
- Font color change results in <p> tag deletions HOT 1
- Fails to manually install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckgedit.