DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:ckgdoku

This is an old revision of the document!


ckgdoku Plugin

Compatible with DokuWiki

"Elenor of Tsort", "Frusterick Manners"

plugin A version of ckgedit which enables the use of DokuWiki’s media manager and linkwiz

Last updated on
2017-10-26
Provides
Syntax, Action
Repository
Source
Conflicts with
definitionlist

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to ckgedit

Tagged with editing, wysiwyg

About

ckgdoku is a version of ckgedit which enables users to switch between ckgedit's file browser and DokuWiki's media manager and linkwiz. See: ckgdoku on the ckgedit page for details about this version of ckgedit.

Prerequisite

Requires DokuWiki version “Elenor of Tsort” or later. For earlier versions of Dokuwiki, you must use ckgedit.

Documentation

The documentation for ckgedit applies to ckgdoku. This includes installation and configuration options. There are two configuration options specific to ckgdoku . For these, see below for details about these options, which determine the default filebrowsers (i.e. ckgedit or native dokuwiki).

As of 03/24/2017 ckgdoku is treated as separate plugin from ckgedit, i.e. it has its own directory structure and its own internal names, unlike earlier versions which shared the same directory and internal names. Because of this, it cannot be enabled at the same time as ckgedit; you must use one or the other.

The current distribution has moved from CKEditor 4.5.7 to 4.7, which is latest release as of this writing (2017-06-04 21:45) Please report any problems.

Farms

As with ckgedit, ckgdoku also has a separate version for farms. Download here: farms branch. Installation is the same as for ckgedit

Captcha

Supports the captcha plugin. For configuration information see the ckgedit configuration documentation.

Image sizing and positioning

When selecting an image in the Dokuwiki media manger, if you do not select an option, these settings default to the last selected. They can always be changed in the CKEditor's image dialog. If the image has already been inserted into the document, you can right click on the image and select image properties which will bering up the image dialog, where you can make your changes. When the image is initially inserted only the width will appear in the image dialog. To get the height and to make it permanently a part of your image markup, click the Reset Size icon.

Configuration

In its default configuration, users can use either the Dokuwiki Media Manager and Linkwiz or the ckgedit filebrowser, switching between them as needed. It can also be configured to restrict users to either ckgedit's filebrowser or Dokuwiki's mediamanager/link wizard. 1)

For adminstrators, this means that the media content of your wikis is now fully integrated into the Dokuwiki file history and meta system, whereas until now it has been only the documents that have had this integration. It also allows for simpler installation when the Dokuwiki tools are given preference, since they work exactly as in Dokuwiki and need no additional configuration. This version is code named ckgdoku.

ckgdoku Configuration Options

There are two options in addition to the ckgeditor options:

Option Description Settings default
allow_ckg_filebrowser Select which file/media browser(s) users can use all, ckgedit, dokuwiki all
default_ckg_filebrowser Select default file/media browser; overridden if the selected browser is not allowed ckgedit, dokuwiki ckgedit

With the default settings the editor will open up set to use ckgedit's file and image browser. A button at the bottom of the editor enables switching to the Dokuwiki media manager and link wizard.

Changes

1)
This has been made possible by the work of Steve Glick, who connected the Ckeditor's link and media dialogs to Dokuwiki's linkwiz and mediamanger.
plugin/ckgdoku.1511026893.txt.gz · Last modified: 2017-11-18 18:41 by turnermm

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