DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:ckgedit:discussion_3

⇐ ckgedit Plugin Page

ckgedit Discussion Page 3

Unwanted code replacement

The editor replace code tag in pre:

< pre >
   < code >
      #test
   < /code >
< /pre >

will become after a save ⇒

< pre >
   & #39;& #39;
   #test
< /pre >

I need the code tag to have syntax highlight and I don't want replacement inside pre tag, how prevent this behaviour?

Thank you

I don't follow this. Have you tried to create a geshi code block for html? See geshi_example.— Myron Turner 2016-01-14 15:57

blank page while click "Broswe Server" button in image properties popup

I have installed a Bitnami stack of dokuwiki from https://bitnami.com/redirect/to/47148/bitnami-dokuwiki-20140929b-0-linux-x64-installer.run.

The directory of bitnami dokuwiki is different from normal one's, the plugins path is /opt/apps/dokuwiki/htdocs/lib/plugins. There is a subdir “htdocs” inserted into the hiberarchy.

After the newest version of ckgedit had been installed, it looks like okey, but when I try to insert a image from my local PC, while click “Broswe Server” button in image properties popup, there comes out a blank page with css fromat only.

I guess some path should to be change in ckgedit source code for the hiberarchy change of bitnami, please help me to slove this problem.

Thank you!

I am going to need more information. First, what does the Configuration Manager show in the savedir field?
I have changed installation from bitnami package to normal package, it works, however, the “Broswe Server” problem continues. Now the savedir field is ./data, and the permissions is 775, user/group is root/daemon, OS is Centos.

Second, if you check lib/plugins/ckgedit/fckeditor/userfiles do you see a set of symbolic links, and if so, where do they point to?

They point to /opt/apps/dokuwiki/data/media/
In addtion, the enviroment is: CentOs 6.3 with Bitnami Redmine stack preinstalled, which include apache 2.2.15 and php 5.4.26
Is /opt/apps/dokuwiki/data/media/ your correct media directory? And could you give me a better idea of what you mean by 'css fromat only'? An image would help–which you could do if you used the forum or could link to an image from some cloud service like photobucket.
Yes, /opt/apps/dokuwiki/data/media/ is my correct media directory.The image is:

b.picphotos.baidu.com_album_s_3d1100_3bq_3d90_sign_1ac85648f403918fd3d139cb610d1de6_bd3eb13533fa828bdff19c4bfe1f4134960a5a43.jpg

This is very likely caused by a php error. Check your error logs. Ckgedit requires php 5.3.3 or higher. See important.
It is php 5.4.26 which include in Bitnami stack. Maybe php 5.3.3 got more compatible? but I don't know how to change php into 5.3.3 within Bitnami.
php 5.4 is fine. But have you checked to see if there are any errors reported in your web server's error logs?
There is nothing recored in error log, and the access log is
10.5.37.25 - - [09/Jan/2015:16:45:33 +0800] "GET /dokuwiki//lib/plugins/ckgedit/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=http://10.5.24.116/dokuwiki//lib/plugins/ckgedit/fckeditor/editor/filemanager/connectors/php/connector.php?&CKEditor=wiki__text&CKEditorFuncNum=1&langCode=zh-cn HTTP/1.1" 200 3037
10.5.37.25 - - [09/Jan/2015:16:45:34 +0800] "GET /dokuwiki//lib/plugins/ckgedit/fckeditor/editor/filemanager/browser/default/frmresourcetype.html HTTP/1.1" 200 1058
10.5.37.25 - - [09/Jan/2015:16:45:34 +0800] "GET /dokuwiki//lib/plugins/ckgedit/fckeditor/editor/filemanager/browser/default/frmfolders.html HTTP/1.1" 200 2788
10.5.37.25 - - [09/Jan/2015:16:45:34 +0800] "GET /dokuwiki//lib/plugins/ckgedit/fckeditor/editor/filemanager/browser/default/frmactualfolder.html HTTP/1.1" 200 1201
10.5.37.25 - - [09/Jan/2015:16:45:34 +0800] "GET /dokuwiki//lib/plugins/ckgedit/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html HTTP/1.1" 200 1878
10.5.37.25 - - [09/Jan/2015:16:45:34 +0800] "GET /dokuwiki//lib/plugins/ckgedit/fckeditor/editor/filemanager/browser/default/frmresourceslist.html HTTP/1.1" 200 4821
10.5.37.25 - - [09/Jan/2015:16:45:34 +0800] "GET /dokuwiki//lib/plugins/ckgedit/fckeditor/editor/filemanager/browser/default/frmupload.html HTTP/1.1" 200 23201
Check php.ini for the location of your php error log.

Nearly the same here. No PHP Error. Setup is: NGINX + PHP7.0

Version is: 2017-03-07, Wiki is “Frusterick Manners” (2017-02-19)

Can't help without more information. And maybe will not be able to help since I have no experience with NGINX. The above log is the access log; check your error log and check your browser's developer's tools for javascript errors.

Now it works for me. Thank you for the hint to check the browser's developer's tools for javascript errors! :-D Need to change the default HTTP header for NGINX to the following:

add_header X-Frame-Options SAMEORIGIN;

URL in plugin.info.txt is incorrect

Awesome plugin first of all… Thank you!

I noticed that the plugin.info.txt still references the http://www.mturner.org/fckgLite url which I believe is incorrect. Shouldn't the URL point to https://www.dokuwiki.org/plugin:ckgedit ?

Carl 2015/03/10 16:55

Thanks. I've updated the url. But much of the information on the fckglite web site still applies to ckgedit.

Hi, is there any reason for the “Browse Server” dialog to be on the URL section of the link dialog? I've edited my installation to not display this button, because users ended up linking to pages using the full URL (i.e the /lib/plugins/ckgedit/fckeditor/userfiles/file/ address) instead of linking directly to the page using DW syntax.

You have a point. Why don't you create a pull request or post a diff -u to this page?
Pull request here

ckgedit on IOS devices

Hi All, Could you please confirm the compatibility of plugin on IOS (iPad/ iPhone) devices On CKGEditor, the cursor goes to first line on hitting return button from any location of page. How to fix it? - Pradeep Karanam

Tested this with both the default software keyboard and a detached bluetooth key board and cannot reproduce the error. –Myron Turner

Hi Myron Thanks a lot for your quick response. Here is the exact case. 1.Dokuwiki is installed. 2. Added CKGEdit plugin. 3. Changed the default editor to CKGedit. 4. Create a page 5. Edit the same page in iPad. 6. Move cursor to the end of last line. Here if you hit return / enter key, Cursor relocates to / blinks at top left corner(beginning). Please try and advise.

Can't reproduce the error. I have the latest iPad and am using Safari. — Myron Turner 2015-07-08 00:05

ckgedit for monobook and vector templates (skins)

Hi Team, I changed my template from default to monobook / Vector skins and found that the ckgedit is not brought up on edit / creating new page. Do I need to change any configuration or settings or any code change to make it work.

I just insalled both vector and monbook on HRUN and both loaded without issues. If this continues, check, your error logs. — Myron Turner 2015-07-23 21:20

Importing Documents

Team, How to enable to import documents, pdf, excel, videos and other file types?

You can upload files using the link tool. You have to make sure that the file type is set in conf/mime.conf. If not, create a new file conf/mime.local.conf and put the new types in that file. For displaying videos you will need a plugin. — Myron Turner 2015-07-23 20:31

Cant Save

I, while using the newest versions of dokuwiki (2015-08-10a “Detritus”) and your plugin (from: 2015-09-05), have problems importing a table from google docs. While it seems that copy&paste works quite well at first, (picture of the import) if i hit the save button, i get the following error inside the console and nothing happens, it wont save. The problem seems to be pointing to the same direction as this: https://www.dokuwiki.org/plugin:ckgedit:discussion#can_t_save.

In Firefox 40 webdeveloper console:

13:51:52.098 uncaught exception: Parse Error: <td colspan="2" data-sheets-value="[null,2,&quot;Zeiten&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-top:1px solid #000000;border-right:1px solid #000000;border-bottom:1px solid #000000;border-left:1px solid #000000;font-size:100%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Zeiten</td>
			<td colspan="10" data-sheets-value="[null,2,&quot;WS 15/16 (Beginn 28.09.15)\n&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-top:1px solid #000000;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:200%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">WS 15/16 (Beginn 28.09.15)</td>
		</tr>
		<tr style="height:28px;">
			<td data-sheets-value="[null,2,&quot;Anfang&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;bord1 

And in an up to date Chrome, a friend of mine got:

Uncaught Parse Error: <td colspan="2" data-sheets-value="[null,2,&quot;Zeiten&quot;]" rowspan="1">Zeiten</td>
			<td colspan="10" data-sheets-value="[null,2,&quot;WS 15/16 (Beginn 28.09.15)\n&quot;]" rowspan="1">WS 15/16 (Beginn 28.09.15)</td>

If i switch to sourcecode-view it looks like fine html:

<p><meta name="generator" content="Sheets">
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}-->
</style>
</p>

<table border="1" cellpadding="0" cellspacing="0" dir="ltr" style="table-layout:fixed;font-size:13px;font-family:arial,sans,sans-serif;border-collapse:collapse;border:1px solid #ccc">
	<colgroup>
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
		<col width="90" />
	</colgroup>
	<tbody>
		<tr style="height:26px;">
			<td colspan="2" data-sheets-value="[null,2,&quot;Zeiten&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-top:1px solid #000000;border-right:1px solid #000000;border-bottom:1px solid #000000;border-left:1px solid #000000;font-size:100%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Zeiten</td>
			<td colspan="10" data-sheets-value="[null,2,&quot;WS 15/16 (Beginn 28.09.15)\n&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-top:1px solid #000000;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:200%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">WS 15/16 (Beginn 28.09.15)</td>
		</tr>
		<tr style="height:28px;">
			<td data-sheets-value="[null,2,&quot;Anfang&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;border-left:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Anfang</td>
			<td data-sheets-value="[null,2,&quot;Ende&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Ende</td>
			<td colspan="2" data-sheets-value="[null,2,&quot;Montag&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Montag</td>
			<td colspan="2" data-sheets-value="[null,2,&quot;Dienstag&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Dienstag</td>
			<td colspan="2" data-sheets-value="[null,2,&quot;Mittwoch&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Mittwoch</td>
			<td colspan="2" data-sheets-value="[null,2,&quot;Donnerstag&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Donnerstag</td>
			<td colspan="2" data-sheets-value="[null,2,&quot;Freitag&quot;]" rowspan="1" style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;font-weight:bold;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Freitag</td>
		</tr>
		<tr style="height:30px;">
			<td data-sheets-numberformat="[null,7,&quot;H:mm&quot;,1]" data-sheets-value="[null,3,null,0.3125]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;border-left:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">7:30</td>
			<td data-sheets-numberformat="[null,7,&quot;H:mm&quot;,1]" data-sheets-value="[null,3,null,0.3333333333333333]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">8:00</td>
			<td data-sheets-value="[null,2,&quot;Johannes&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#93c47d;border-right:1px solid #000000;border-bottom:1px solid #000000;color:#000000;vertical-align:middle;text-align:center;">Johannes</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td data-sheets-value="[null,2,&quot;Johannes&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#93c47d;border-right:1px solid #000000;border-bottom:1px solid #000000;vertical-align:middle;text-align:center;">Johannes</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td data-sheets-value="[null,2,&quot;Julian&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ff0000;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Julian</td>
			<td data-sheets-value="[null,2,&quot;Johannes&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#93c47d;border-right:1px solid #000000;border-bottom:1px solid #000000;vertical-align:middle;text-align:center;">Johannes</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
		</tr>

                [I CUT THIS SOURCECODE HERE, BECAUSE ITS SO LONG ETC. I THINK YOU GET THE POINT]

		<tr style="height:34px;">
			<td data-sheets-numberformat="[null,7,&quot;H:mm&quot;,1]" data-sheets-value="[null,3,null,0.75]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;border-left:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">18:00</td>
			<td data-sheets-numberformat="[null,7,&quot;H:mm&quot;,1]" data-sheets-value="[null,3,null,0.7916666666666666]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">19:00</td>
			<td data-sheets-value="[null,2,&quot;Julian&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ff0000;border-right:1px solid #000000;border-bottom:1px solid #000000;color:#000000;vertical-align:middle;text-align:center;">Julian</td>
			<td data-sheets-value="[null,2,&quot;Svenja&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#00ffff;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Svenja</td>
			<td data-sheets-value="[null,2,&quot;Franzi&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ff00ff;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Franzi</td>
			<td data-sheets-value="[null,2,&quot;Dennis&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#cccccc;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Dennis</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td data-sheets-value="[null,2,&quot;Dennis&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#cccccc;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Dennis</td>
			<td data-sheets-value="[null,2,&quot;Yannick&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffff00;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Yannick</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td data-sheets-value="[null,2,&quot;Yannick&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffff00;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Yannick</td>
		</tr>
		<tr style="height:34px;">
			<td data-sheets-numberformat="[null,7,&quot;H:mm&quot;,1]" data-sheets-value="[null,3,null,0.7916666666666666]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;border-left:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">19:00</td>
			<td data-sheets-numberformat="[null,7,&quot;H:mm&quot;,1]" data-sheets-value="[null,3,null,0.8125]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">19:30</td>
			<td data-sheets-value="[null,2,&quot;Julian&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ff0000;border-right:1px solid #000000;border-bottom:1px solid #000000;color:#000000;vertical-align:middle;text-align:center;">Julian</td>
			<td data-sheets-value="[null,2,&quot;Svenja&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#00ffff;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Svenja</td>
			<td data-sheets-value="[null,2,&quot;Franzi&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ff00ff;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Franzi</td>
			<td data-sheets-value="[null,2,&quot;Dennis&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#cccccc;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Dennis</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td data-sheets-value="[null,2,&quot;Dennis&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#cccccc;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Dennis</td>
			<td data-sheets-value="[null,2,&quot;Yannick&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffff00;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Yannick</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffffff;border-right:1px solid #000000;border-bottom:1px solid #000000;">&nbsp;</td>
			<td data-sheets-value="[null,2,&quot;Yannick&quot;]" style="padding:2px 3px 2px 3px;vertical-align:bottom;background-color:#ffff00;border-right:1px solid #000000;border-bottom:1px solid #000000;font-size:100%;color:#000000;wrap-strategy:0;white-space:nowrap;vertical-align:middle;text-align:center;">Yannick</td>
		</tr>
	</tbody>
</table>
This is not a problem I can solve through ckgedit. There is a syntax conflict of some kind between the table code and the html which CKEditor emits. While being able to paste html into the editor is a convenience, there are no guarantees. — Myron Turner 2015-09-23 04:07

Hello, first of all thanks for the awesome plugin. I only had a problem with it, I'm using the last version of CKGedit, the code is untouched.

If I create an internal link to a page the editor automatically puts the namespace of the page I'm currently editing in front.

Exemple: I'm editing :sport:football and I want to put an internal link to :rules:playoff. If I write like this the editor automatically transform the link in :sport:football:rules:playoff. Could not find a way to solve this, have to use hand syntax, which is fine for me but not for most of my users.

Anyone that can help?

arimane 2015-09-28 01:18

I have so far not been able to reproduce this, using Window 7 FireFox and Chrome. What systems are you using (server and desktop) and what browsers? — Myron Turner 2015-09-28 15:58
Thanks for your reply. Client side I use Debian 8 with firefox, server side is linux too. I tried removing and reinstalling the plugin, no good. I'd like to be of more help but I wouldn't know how to debug this.
The closest I could get to this is Ice Weasel and Chromium on Debian 7 and I had no problem. Ice Weasel is the Mozilla browser on Debian 7. See links from subnamespace to subnamespace. Those links were made on the page :playground:links (using Ice Weasel), and as you see that name does not appear prefixed to the links or the link texts.
I can confirm this is also occurring for me as well. Server is using dokuwikuStick, w7. Client is w7, happens in IE and Chrome. Example here done in IEValiantiam 2015-10-30 16:23
I see the problem. But I'm not sure I will be able to fix it. You will have to select your files using the toolbar interface instead of specifying them in the textbox. But I will look into it.
Can you explain what you mean by selecting my files using the toolbar interface? I just need to link to a page in another namespace but it keeps putting the current one in front. Is there another way I can link it? To add, is there a way I could hack in the link function of the default editor, but retain all your other functions? This wouldn't be ideal, but it would at least allow my…less savvy folks able to link to pages more easily.
First, I just uploaded a fix for this problem. Secondly, though, you can always use the link dialog to locate a file by clicking on the 'Browser Server“ button. — Myron Turner 2015-10-30 20:41
I'm afraid I didn't correctly test arimane's example and so didn't reproduce his reult, but now that I've seen what the problem is I've been able to correct for it.
I did the update and now works as a charm. Thank you very much for it! — arimane 2015-11-01 16:34

Farm setup

Hello, this plugin is really great. Would it be possible to get it working with doku wiki farm setup? When we upload images to the server they were available and accessible for all farm child's. It would be better when the images where saved in the child's data folder.

I've noticed that uploaded images are not shown after I've added them to an article.

{{:wiki:screenshot544.jpg?nolink&428x296}}

Image location:

[root@wiki /www/dokuwiki/lib/plugins/ckgedit/fckeditor/userfiles/image/wiki]$ ls -l
total 12
-rw-r--r--. 1 apache apache 11467 Jan 13 15:12 screenshot545.jpg
[root@wiki /www/dokuwiki/lib/plugins/ckgedit/fckeditor/userfiles/image/wiki]$

But it must be here for child1:

[root@wiki /www/farm/wiki1/data/media]

or here for child2:

[root@wiki /www/farm/wiki2/data/media]

— Mike 2016/01/12 15:30

There is a distribution dedicated to farms, with instructions: http://www.mturner.org/fckgLite/doku.php/farms

Unfortunately, it is a year out-of-date, so hasn't had the benefit of fixes since last February. I'll look into updating when I get the chance. — Myron Turner 2016-01-13 16:08

I've read the instruction. We use the virtual host based setup. It would be great if you could update the plugin for farms. Maybe you can find a way to bring the farm support directly into the plugin so that you don't have to maintain two versions? Thank you in advance. — Mike 2016-01-14 10:10
I have just finished updating the farms version of ckgedit. It is now up-to-date. And though I've so far tested it only with the .htaccess method, I don't see why it wouldn't work wioth virtual hosts. see: documentation.
It seems to work now. I have only some problems with the image preview. It is working for one animal but for all other it is not working. I've compared the folders and links but I can't find any difference. Anyway I can add all images to articles. They are displayed correctly afterwards. Maybe you have an idea what could be the cause. Thank you for your assistance. — Mike 2016/01/18 11:05
I would try to fix that but have had trouble setting up the virtual farm. The paths seem to get corrupted. I get the animals but all formatting is lost, i.e. no css. And the links show incorrect paths. I didn't think I missed anything but probably I have. If you could give me some idea of what your set up is I can try to reproduce it. You could, if you prefer, email me at the address on the main ckgedit page.
Think I got it solved. The addanimal script gave a misleading basedir setting for virtual setups. I'll let you know if and when I get the media directory fixed.
The current version should now correctly handle virtual host farms

Image map plugin troubles

Hi, this is a great plugin. However, there's a problem when using it with the Image Map Plugin.

The code on the page q:diagram:mainflow

{{map> :q:some.png |Some text}}
  ​* [[q:targetpage|Some tip@ 1,15,19,79]]
{{<map}}

is changed into this, where the coordinates and the '@' are removed, and the closing “map” changed, like so:

{{map> :q:some.png |Some text}}
  ​* [[ns:page|Some tip]]
[[:​q:​diagram:​lt:​map?​media=q:​diagram:​lt:​map|map]]

I have tried enclosing in

~~MULTI_PLUGIN_OPEN~~
... here goes the map code
~~MULTI_PLUGIN_CLOSE~~

but this did not make any difference. Does anyone have any suggestions? Many thanks! —Søren Weber 2016-01-14 14:43:00

What you want is this: html_blocks. With html blocks, you don't need the MULTI macros and can't use the image map plugin but must code the html for the image map yourself. — Myron Turner 2016-01-14 14:51
Thanks for the fast reply. Is there no way to keep the image plugin working? It has a fairly nice user interface, and my users are quite IT illiterate… —Søren Weber 2016-01-14 16:13
No. HTML blocks are not parsed by the DW parser.
plugin/ckgedit/discussion_3.txt · Last modified: 2017-03-13 10:38 by homer83

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki