====== dwedit Plugin ======
---- plugin ----
description: Support plugin for ckgedit/cgdoku: adds dokuwiki native editor icon to page tools
author : Myron Turner
email : turnermm02@shaw.ca
type : action
lastupdate : 2022-09-27
compatible : Frusterick Manners, Greebo,hogfather,Igor
depends :
conflicts :
similar :
tags :
downloadurl: https://github.com/turnermm/dwedit/archive/master.zip
bugtracker : https://github.com/turnermm/dwedit/issues
sourcerepo : https://github.com/turnermm/dwedit/
donationurl:
screenshot_img :
----
===== Installation =====
Simply install the plugin with the Extension Manager and an additional icon will appear in your page tools that will enable you to go directly to the DokuWiki editor.
===== Usage =====
==== 1. Templates compatible with the default "dokuwiki template" ====
In templates compatible with the dokuwiki template, ''dwedit'' will place an icon among the page tools, at the right of the template. The icon is a modified version of the dokuwiki pencil icon. Clicking on it will open the native DokuWiki editor. It opens to the entire page being edited, it does not support section editing. For section editing, all that is needed is to double click in the section being edited, and the native DokuWiki editor will open in that section.
==== 2. Non-Compatible Templates ====
For users who are not using the "dokuwiki template" or compatible templates, a link can be inserted from the template page using one of the following. Either a button:
'edit','mode'=>'dwiki',
'fck_preview_mode'=>'nil');
if($REV) { $params['rev'] = $REV; }
$name = "DW Edit";
$button = html_btn($name , $ID, "", $params,"post",$name,$name);
echo $button;
?>
Or a link that is inserted directly into the HTML:
DW Edit