turnermm / ckgedit Goto Github PK
View Code? Open in Web Editor NEWCKEditor integrated into Dokuwiki
Home Page: https://www.dokuwiki.org/plugin:ckgedit
License: GNU General Public License v2.0
CKEditor integrated into Dokuwiki
Home Page: https://www.dokuwiki.org/plugin:ckgedit
License: GNU General Public License v2.0
Sir,
I want to add the icons and functionality of todo,do, wrap and indexmenu plugin to the ckgedit edit menu so that I can easily access them without any issue.
along with this I want the ckgedit to download the images that I paste with content so that they can be accessible offline too.
Please help me as soon as possible.
When using dokuwiki editor and doing a preview, if i click on the switch button to use CKGeditor after rediting i'm still with dokuwiki editor
In this case, in edit.php function isOutOfScop return true so ckgeditor is not loaded
In the media browser (from link or image buttons) and when you have lot of files and folder it can take a while to show media list
It could be fine to add a waiting message, it's easy to do :
in fckeditor/editor/filemanager/browser/default/frmresourceslist.html
in function LoadResources after the oListManager.Clear();
document.body.innerHTML = 'Loading, please wait';
in function GetFoldersAndFilesCallBack add in first line this to delete the waiting message:
oListManager.Clear();
Hi!
If we create a link that points to a page with an "É" (UTF8 = %C3%89) inside, all the accents in the page get corrupted when we save it.
To reproduce:
Let me know if you need more info, thanks in advance!
Typing in norwegian characters in the editor works fine (lower case æøå and capitals ÆØÅ). However, when I try to save edited text the capitalized letters are removed. The lower case characters are kept just fine.
The html entities we are talking about (both lower case and capitals) are:
aring (229) and Aring (197)
oslash (248) and Oslash (216)
aelig (230) and AElig (198)
I tried adding these entities to ent.ser using the ents_seri.php script, but they don't seem to show up there.
Hello,
it should be good to have content editor using template css defined in Dokuwiki configuration.
Users are confused about editor doesn't render same as showing page...
Hi,
Ckgedit seems to be incompatible with https://www.dokuwiki.org/plugin:outliner.
Description: When I type a collapsible section macro into the editor: "--> Title [...] <--", then save, everything is fine, a collapsible section appears, the plugin seems to work.
But when reopening the editor, Ckgedit replaces the double dash "--" with a long dash "–". So when I save the page again without editing anything, there is no more collapsible section and instead there is: "–> Title [...] <–"
Info: Using the built-in editor, there is no problem with the plugin, "-->" remains "-->".
What's maybe helpful to know, though: A double dash "--" entered in DW edit is converted to a long dash "–" only in view mode. When editing the article, there is always a double dash.
Hello,
In the CKG editor, when we use "enlargement" feature on "random" topics, the editing toolbar is not always visible. All the benefits of this feature are then killed.
At the beginning, I thought it only concerned topics which contain picture(s) but it seems it happens for different "kind" of topics (with or without pictures etc).
Thank you for helping,
Regards,
Hi,
After saving a page with a samba share within a line the ckgedit always inserts a break just before the samba share
Example:
Can this be manually resolved (editing the configuration files) ?
Thanks in advance
c
After installation through admin panel all I get is this error message (can't access any page):
Parse error: syntax error, unexpected T_FUNCTION in /dokuwiki/lib/plugins/ckgedit/action/edit.php on line 233
When adding smiley FIXME or DELETEME it add icon "LOL"
solution :
in dialogs/smileys.js : it missed var descr = dwimages[i][0];
(line 170) dwimages = config.dokuFixmeSmiley;
for(i=0; i< dwimages.length; i++) {
(=>added) var descr = dwimages[i][0];
html.push(
If I input an arrow showing right, it will be deleted after second edit.
Steps to reproduce:
The arrow left (<= ) works correct. The both arrow (<=>) is also affected by this bug, it is show as "<⇒" this in ckgedit.
I'm using ckgedit in Dokuwiki. Everytime I edit a page a linebreak (e.g. LINEBREAK#1 ) is added to the top of the page. This does not occur if I use the default Dokuwiki editor. It only started happening after I upgraded to whichever version of Dokuwiki is the one before Binky after having used whichever version it is that shipped with Ubuntu 13.04. (I'm sorry I can't remember the names or the dates of the versions precisely.) If I edit a page more than once I accumulate additional linebreaks. This bug makes it impossible to work with certain kinds of pages, such as ones beginning with bulleted lists.
Here are the plugins I have enabled in Dokuwiki:
acl
blog
bookcreator
ckgedit
columns
config
discussion
emphasis
gallery
include
indexmenu
info
linebreak
odt
orphanswanted
pagelist
pagemove
plugin
popularity
revert
safefnrecode
snippets
tag
usermanager
vshare
xbr
yearbox
I recognise that the linebreak plugin may well be where the problem lies. Unfortunately I need that for working with song lyrics.
I try to put a code block, but i add the geshi syntax geshi: php example.php, and after save and enter to edit again the content the geshi tag dissapear and start the process to add the tag again it's a infinite loop.
I use Google Chrome for use de ckgedit
Hi,
thanks for your plugin. However, trying to install and use the stuff it turn out that
ckeditor/config.js
tries to call top.ckgedit_lanugage_chk()
A function with this name is defined in helper.php, but that one is a PHP function and thus not available from JS. A java-script top.ckgedit_language_chk() does not seem to be available.
Also, in recent DW version pencil.png and del.png are no longer available.
Thanks,
Claus
Hi there,
I'm trying to save content into a docuwiki page, but coming unstuck when I try more than three images. The first two process correctly, but the third (and subsequent) always fail.
PHP dump...
Warning: imagecreatefromstring(): gd-png: fatal libpng error: invalid stored block lengths in /home/public_html/doku/lib/plugins/ckgedit/action/save.php(77) : runtime-created function on line 3
Warning: imagecreatefromstring(): gd-png error: setjmp returns error condition in /home/public_html/doku/lib/plugins/ckgedit/action/save.php(77) : runtime-created function on line 3
Warning: imagecreatefromstring(): Passed data is not in 'PNG' format in /home/public_html/doku/lib/plugins/ckgedit/action/save.php(77) : runtime-created function on line 3
Warning: imagecreatefromstring(): Couldn't create GD Image Stream out of Data in /home/public_html/doku/lib/plugins/ckgedit/action/save.php(77) : runtime-created function on line 3
Clipboard paste: invalid png image format
Warning: imagecreatefromstring(): gd-png: fatal libpng error: invalid code lengths set in /home/public_html/doku/lib/plugins/ckgedit/action/save.php(77) : runtime-created function on line 3
Warning: imagecreatefromstring(): gd-png error: setjmp returns error condition in /home/public_html/doku/lib/plugins/ckgedit/action/save.php(77) : runtime-created function on line 3
Warning: imagecreatefromstring(): Passed data is not in 'PNG' format in /home/public_html/doku/lib/plugins/ckgedit/action/save.php(77) : runtime-created function on line 3
Warning: imagecreatefromstring(): Couldn't create GD Image Stream out of Data in /home/public_html/doku/lib/plugins/ckgedit/action/save.php(77) : runtime-created function on line 3
Clipboard paste: invalid png image format
I've ACL Auth plugin "AuthAD" and there's a group "Тестовая группа" in ActiveDirectory.
There's a string "* @Тестовая%5fгруппа 8
" in acl.auth.php (0xD0A2 D0B5 D181 D182 D0BE D0B2 D0B0 D18F 25 35 66 D0B3 D180 D183 D0BF D0BF D0B0
).
The upload images to DokuWiki via standard Media Manager is successful. But when I upload images through ckgEdit's Filemanager I get an error: "You do not have permission to upload files to this folder. If you think this is incorrect please notify your administrator."
If I set $DWFCK_con_dbg = true;
in fckeditor/editor/filemanager/connectors/php/config.php i get nix_paths.txt with the content:
...
[DWFCK_usergrps] => ........_......;;user
...
where "........_......
" is 0xF2 E5 F1 F2 EE E2 E0 FF 5F E3 F0 F3 EF EF E0
When I use a group "Test group" Filemanager works successful.
dokuwiki 2014-09-29b "Hrun"
ckgEdit-ckedit_43-15-Jan_13-20_12
Everytime I save a page with interwiki links, this links get broken after saving
When I edit a table, the orientation is changed to "rightalign" when I save it.
In the Sourcecode it looks like this:
I then have to manually change the rightalign to 'col1'
I saw this bug already appearing here. I am using the latest version (downloaded zip here just today), it still is happening to me.
First I want to say I really appreciate your awesome editor, it works flawless for me, despite one error.
When I copy and paste a image and resize it (without saving in between), the image disappears after saving, and only a text like "woxszcxro9mbwaaaabjru5erkjggg" appears in the position where I inserted the image.
The image also doesn't get uploaded, it's not in the media folder like all the other images.
Interestingly I have not problems at all when I insert the image, save, edit the page again and then resize it.
I have been having an issue where links cannot be created from selected text in Internet Explorer. Links can be created when no text is selected but do not work when it is.
I am running WeatherWax with the most recent stable release of ckgedit. The issue seems very similar to http://dev.ckeditor.com/ticket/8493 but considering ckgedit uses a newer release this issue seems like it would have been resolved.
Thanks!
When editing a Dokuwiki page using CKG Edit (with the lisps template), upon clicking the lisps "Save" button (located to the right of the page - as part of the lisps template), ALL of the content on the edited page is lost... and replaced with the underlined word (dokuwiki syntax) "false".
However, the lisps "Save" button DOES function properly when edits are made using the standard DW Editor.
This issue was identified while using:
DokuWiki version "2014-09-29a" ("Hrun") (the problem was duplicated using Dokuwiki "Ponder Stibbons")
CKG Edit Version: ckgEdit-ckedit_43-14-Nov_8-08_20
lisps Template Info.:
base lisps
author lisps
date 2013-10-30
name Lisps DokuWiki Template
desc Lisps DokuWiki's modified default template
url http://www.dokuwiki.org/template:lisps
I found a bug to the image gallery.
The path is not correct after upload of image.
The path is "/image", the data is in "./images".
Missing a dot ?
Version : "snapshot? update version 40.1"
Error 404 image not found
Hallo,
how can I enter ~~NOCACHE~~
with ckgedit?
ckgedit always changes it to ~ ~ NOCACHE~ ~
with blanks.
Did I miss something? Thanks.
If the following Dokuwik code is resaved with ckgedit, no info box is shown.
* **bold text**
<note info>An info box</note>
(The first line is bold text as a list item)
Hello,
We are unable to open links toolbar When used with Dokuwiki 2013-05-10 "Weatherwax".
The background turns grey and nothing happens. We need to refresh the page to get things working.
Other bug: the plugin status a update button on plugins page but the update is unsuccessful.
NB: Thank you for the plugin
Hi!
Great thing you are porting the old wysiwyg to ckeditor! Wanted to do the same thing a while ago but never started..
I found that you have a setting which enables to deactivate the editor for specific namespaces and would like to see it exactly the other way round.
I really think that the default editor that dokuwiki ships is the best solution to create sustainable wiki-contents but also understand that not everybody understands the syntax.
Thats why I would only like to enable the ckgedit in particular NS which belong to specific teams.
This is also a good thing if you want to test the editor before rolling it out in the complete wiki
fckeditor\userfiles\file , flash, media, file can't be extracted without administrator rights
It's probably linux stuff but its not possible even store that type of files in windows :(
Hi,
i got a blank site by editing my wiki. If i switch back to the official dokuwiki template, i am be able to write with ckgedit.
So, i think its a problem from dokubook. Maybe someone has a fix for my problem?
Thx for your help guys.
Bye
Hello,
Ckgedit only use conf/smileys.conf but not conf/smileys.local.conf
Hi,
If the text "\" (in a share link for exemple) is entered with DW Edit ==> No problem, it is correctly displayed in the saved page.
If the same page is opened with CKG editor and saved (with or without modification), the "\" is converted in "%".
Could you please fix this ?
Workaround : convert the "\" in "< nowiki > \ < /nowiki >< nowiki > \ < /nowiki >".
Thanks
Kind regards,
p4r4d0x86
Hi, I found an other bug. If you change the font typ or the font size and save the page, the text on the page is like expacted. But if you edit the page again you see somting like
<font 9pt/courier new,courier,monospace;;#000000;;#ffffff>test text</font>
in the editor. I belive its an bug while parsing the text for der editor.
Hello,
When copy/paste an image (for example from mspaint or screenshot) into editor, image is shown but after saving instead of the image we see in the page something like "wdwnv31mg6juqaaaabjru5erkjggg".
IMHO two possibilities : when pasting image in editor a pop-up ask where the image have to be saved and with which name or don't allow to paste image in the editor...
NB : mabye can help : http://ckeditor.com/addon/imagepaste
Hi,
When I added Bulleted list or Numbered list it all looks file.
However, when I tried to reedit the page the list appear as text, as DW list without formmating (* First_Item * Second_Item * Third_Item). It happened both on chrome and firefox.
DokuWiki version: Release 2014-05-05a "Ponder Stibbons", PHP 5.5.11, and the latest CKGedit from github.
Any idea?
Arie.
I've add the standard ckedit alignment buttons to the toolbar. In ckeditor it is working fine but after save the alignments disappear.
It's the same thing with empty rows (what I put there with enter or shift+enter
I can't change the Toolbar style since version from 14-Feb_12-14_24
is it configured at another location than config.js?
Running Safari on OS X Yosemite triggers issue 12423 in CKEditor, making it essentially unusable. This is fixed in CKEditor 4.4.5. I assume that an update is a non-trivial exercise, but this may become more visible as more people update to 10.10.
When adding a Bulleted List it starts at level 2 :
dokuwiki syntax generated is : " *" (with 4 spaces before *) instead of " *" (2 spaces before * )
If I add a font style (text size) for a paragraph, the HTML code breaks (see screenshot):
I duplicated the paragraph of "Translation in History" and added a font size. It looks fine in editor, but after saving two square brackets are added at the end of the line. Line 1 and the last line are even more garbled.
The resulting HTML code looks like this:
<p><b><a class="wikilink1" href="/doku.php?id=start" title="start"><span style="color:inherit"><span style="font-size:18px"><span style="font-family:inherit"><span style="background-color:inherit">Start</span></span></span></span> </a></b></p>
<ul>
<li class="level1"><a class="wikilink1" href="/doku.php?id=events" title="events">Events</a></li>
<li class="level1"><a class="wikilink1" href="/doku.php?id=references" title="references">References</a></li>
</ul>
<h2>Groups & Networks</h2>
<div class="level2">
<p><a class="wikilink2" href="/doku.php?id=translation_in_history-historical_geography" rel="nofollow" title="translation_in_history-historical_geography">Translation in History/Historical Geography</a></p>
<p><span style="color:inherit"><span style="font-size:16px"><span style="font-family:inherit"><span style="background-color:inherit">Translation in History/Historical Geography]]</span></span></span></span></p>
<p><b><a class="wikilink2" href="/doku.php?id=translation_in_history-historical_geography" rel="nofollow" title="translation_in_history-historical_geography"><span style="color:inherit"><span style="font-size:16px"><span style="font-family:inherit"><span style="background-color:inherit">Translation in History/Historical Geography</span></span></span></span> </a></b></p>
This issue seems related to linked text only. Standard text is not affected.
I'm running DokuWiki latest (Arctic theme) with latest ckgedit version from plugin repository on a Linux host.
Tested with Firefox (latest) and Google Chrome (latest) on Win 8.1 x64.
Hello,
It's not possible to add an external media link like "http://www.google.fr/mydocument.doc"
It's possible with dokuwiki editor : {{http://www.google.fr/mydocument.doc}} so we have msword icon for .doc
but when editing with Ckgedit the link is broken and become "{{:http://www.google.fr/mydocument.doc}}
Hey, today we recognize a issue with the vertikal span in tables.
Often we have tables like this. Mostly create with the DW Edit.
If i now edit this with the ckg Edit it will look like this. Very nice!
But if i save it with the ckgEdit, something went wrong:
If I edit it agian with the ckg Edit it will look like this:
I reproduce the error and notice that this happend only with a vertikal span. The horizontal span works perfectly.
Do you have a idea, what went wrong?
I just installed ckgedit on the DokuWiki installation I just upgraded to the current version.
When I edit an existing page (that has existed before I started using ckgedit), the whole page layout gets really broken.
Example:
Sourcecode after clicking edit on 'old' page version:
<h2>DC++</h2>
<div class="level2">
<ul>
<li class="level1">Host:
<pre class="code">
adcs://dc.lala.de:3456
</pre>
<p> </p>
</li>
</ul>
<ul>
<li class="level1">Benutzername: [lala]DeinName</li>
<li class="level1">Encoding: UTF-8</li>
<li class="level1">Uploadslots: min. 10</li>
<li class="level1">Share: min. 10 GiB</li>
</ul>
</div>
After clicking on "Save" in the WYSIWYG view without changing anything and then looking at the sourcecode:
<h2>DC++</h2>
<div class="level2">
<ul>
<li class="level1">Host:</li>
</ul>
<p><code>adcs:<em>dc.lala.de:3456 * Benutzername: [lala]DeinName * Encoding: UTF-8 * Uploadslots: min. 10 * Share: min. 10 GiB </em></code></p>
</div>
What could the problem be?
Hello,
today a user told me that if he edit a table with the ckgedit, the alignment from the edited cell changed after saving to right. This only happend if you are using the IE. I tested it with the IE10 and could reproduce it.
We work it around with the enabled complex table.
As reported in the discussion page
Quoted here:
Whenever I hit the “Save” button nothing visible happens. Checking the console in Chrome I am getting the following error:
Uncaught ReferenceError: parse_wikitext is not defined doku.php?id=private:start&do=edit&rev=0:620
onmousedown
Did I do something wrong, or am I missing something?
Note: I can hit “Save” and no error appears and I am brought back to the main page, however it is only if I change something where the problem occurs.
If you want to test the issue you can check my website:
Testing Page
You can login with the account:
username: testuser
password: RroisBhE03F5
I have just upgraded to version 2014-07-24.
When pasting an image into the editor in Firefox and then saving the page, the page is deleted.
When editing pages that already contains images, everything works as it's supposed to.
ckgedit: 2014-07-24
DokuWiki: 2014-05-05a
PHP: 5.3.17
Apache: 2.2.12
OS: SUSE Linux Enterprise 11 SP3
When used with the plugin publish, the check box used to approve the document is missing which force the user to reswitch to the old DW editor to approve a draft.
Publish plugin: https://www.dokuwiki.org/plugin:publish
I cannot get the editor to work when it is embedded within an iframe. I tried changing references to top in the js files is there anything else I need to do.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.