DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:fckg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:fckg [2019-03-19 14:25] – [Version 06] turnermmplugin:fckg [2021-11-20 17:04] (current) – [Please Note] turnermm
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: WYSIWYG editor. JavaScript Front end to FCKeditor+description: 
 author     : Myron Turner author     : Myron Turner
-email      : turnermm02@shaw.ca 
 type       : syntax type       : syntax
 lastupdate : 2015-09-29 lastupdate : 2015-09-29
-compatible : 2009-02-14, lemming, anteater, rincewind, angua, adora belle, weatherwax, binky,"ponder stibbons", Hrun, Detritus +tags       :!discontinued
-depends    :  +
-conflicts  : creole, mathjax, quickedit, yalist, tagentry,ckgedit +
-similar    : fckw, grensladawritezor, wysiwyg, wysiwyg_nicedit +
-tags       : editing, wysiwyg, editor,!discontinued  +
-#sourcerepo : https://github.com/turnermm/fckgLite/ +
-#downloadurl: https://github.com/turnermm/fckgLite/archive/master.zip +
-#bugtracker : http://www.mturner.org/fckgLite/doku.php?contact=1 +
-#donationurl: http://www.mturner.org/fckgLite/doku.php?donate=1&b_disp=1+
  
-securityissue: The plugin contains multiple severe vulnerabilities (including remote code execution). Author has been informed 2015-11-27 
 ---- ----
 ==== Please Note ==== ==== Please Note ====
-:!: fckgLite is no longer supported.  Use [[plugin:ckgedit]]. +:!: fckgLite is no longer supported and is not compatible with current versions of DokuWiki.  Use [[plugin:ckgedit]].
- +
-===== fckgLite (or fckg) ===== +
- +
-fckgLite is a Javascript implementation of the FCKeditor for DokuWiki. It is “Lite” only historically, from a time when it was being developed as an experimental alternative to the now discontinued DokuWikiFCK. +
- +
- +
-===== Download and Installation ===== +
-**Important Note** \\ +
-If you are using a version of Dokuwiki dated before April 2011 (Anteater or earlier), do not use the plugin manager's deletion function when upgrading to a new version of fckgLite. It will delete the media directory. +
- +
-==== Alternate savedir setting ==== +
-If you move the savedir from the default configuration setting, you will need the [[https://github.com/turnermm/fckgLite/archive/savedir.zip|savedir version]] of fckgLite.  You can get the documentation for this on the ckgedit plugin page: [[plugin:ckgedit#alternate_save_directory]]. +
- +
-==== Configuration ==== +
-For a list of configuration options and explanations, see: http://www.mturner.org/fckgLite/doku.php?id=configuration +
- +
-To use this plugin with the [[data|Structured data plugin]] see [[:plugin:ckgedit:discussion_2#configuration_to_use_different_editors]].  The same technique which is described there for [[:plugin:ckgedit]] works as well for fckg.  +
- +
-==== Version 07 ==== +
-07 introduced the SCAYT check-as-you-type spell checker.  It is based on an upgrade from FCKEditor 2.6.4.1 to 2.6.6. Check the [[http://www.mturner.org/fckgLite/doku.php?id=configuration|fckgLite web site]] and the fckgLite configuration options in the Configuration Manager for options that control SCAYT. +
- +
- +
-Version 07 has a branch with an upgraded table handling facility ([[#table_handling|see below]]). +
- +
-==== Version 08 ==== +
-Version 08 is now available from github: [[https://github.com/turnermm/fckgLite/archive/master.zip|master.zip]].  Version 08 is built on the advanced table handling distribution described [[#table_handling|below]].  This distribution accommodates the irregular file structure of installations of Dokuwiki made with the Ubuntu/Debian package manager and should also accommodate other similar installations. +
- +
-Versions of fckgLite 08 beginning with April 9 2013 require installations of Dokuwiki that come with jQuery (in other words Angua, October 2011, or later). +
-==== dailies ==== +
-The [[http://www.mturner.org/fckgLite/|fckgLite web site]] has a sidebar button named **dailies**, which links to distributions of fckgLite containing the latest fixes and features.  +
- +
-At certain points the distribution available from this page is the same as the latest of the dailies.  This can happen when the dailies seem to have reached a stable point. +
- +
- +
-==== CKEditor ==== +
-There is now a version in development which uses the CKEDitor, instead of the earlier FCKEditor.  You can download it from the +
-[[http://www.mturner.org/fckgLite/doku.php?id=dailies#ckeditor_4|fckgLite web site]], where you can also read about it.  It also has its own Dokuwiki [[plugin:ckgedit|plugin page]]. +
- +
-You can also get it from [[https://github.com/turnermm/ckgedit/archive/master.zip|github]]. +
- +
- +
- +
- +
- +
- +
-===== Security ===== +
-fckgLite comes with  two security models, both compatible with Dokuwiki's management of images and links. For a complete discussion of security in the fckgLite filebrowser and the latest security enhancements see the [[http://www.mturner.org/fckgLite/doku.php?id=media&b_disp=1#security_and_the_media_directory|fckgLite web site.]]  You can also check the README document that comes with fckgLite distributions. +
- +
- +
- +
- +
- +
-===== Documentation ===== +
-fckgLite has an extensive [[http://www.mturner.org/fckgLite|web site]].  It covers the editor's many features, its configuration and integration with Dokuwiki, and issues in editing.   There are very good finding aids, including a complete [[http://www.mturner.org/fckgLite/doku.php?id=index:site_inx|listing of all topics]] and a Dokuwiki Search box dedicated to the documentation.  +
- +
-There have been approximately 70,000 downloads of fckgLite from more than 24,000 unique IP addresses((Stopped counting June 2014)). Over half of these downloads originate from this page, but it would be worth the effort to visit the web site and to become familiar with its facilities. There are manuals available both as ebook and pdf created from the web site's documentation:  +
-   * PDF: [[http://sourceforge.net/projects/fckglite/files/docs/fckgLite.pdf.zip/download|fckglite.pdf.zip]]  +
-   *EBOOK: [[http://sourceforge.net/projects/fckglite/files/docs/fckglite.epub.zip/download|fckglite.epub.zip]]  +
-There are several excellent ebook readers both stand-alone and plugins for Firefox and IE.  See the [[plugin:epub#ebook_readers|epub Plugin]] for information on readers.  +
- +
- +
- +
- +
- +
- +
-===== Direct Button to Dokuwiki Editor ===== +
-When fckgLite is installed fckgLite becomes the default editor and users will have to switch over the to native Dokuwiki editor from a button found in the fckgLite editor window.  If you would like to give users a choice of using the Dokuwiki editor without having to first open the fckgLite eidtor, put the following button at the bottom and/or top of main.php in one of the button bar divs. +
- +
- +
-<code php button.php> +
-<?php global $ID; $action = DOKU_REL . "doku.php?id=$ID"; ?> +
- <form class="button btn_edit" method="post" action="<?php echo $action ?>"> +
-<div class="no"> +
-<input type="hidden" name="do" value="edit" /> +
-<input type="hidden" name="rev" value="" /> +
-<input type="hidden" name="mode" value="dwiki" /> +
-<input type="hidden" name="fck_preview_mode" value="nil" /> +
-<input type="submit" value="DW Edit" class="button" /> +
-</div> +
-</form> +
-</code> +
- +
-===== Direct Action Link to Dokuwiki Editor ===== +
-This code will create an action link: +
-<code html action_link.html> +
-<a href="doku.php?id=<?php global $ID; echo $ID;?>&amp;do=edit&mode=dwiki&fck_preview_mode=nil" +
-       class="action edit" rel="nofollow" title="DW Edit">DW Edit</a> +
-</code> +
-It can be inserted into either tpl_header.php in the Page Tools section or in main.php at a convient location. It can be used in any template.   +
- +
-If you are using the Dokuwiki template, below is a preferred solution. It is a user-contributed plugin to insert an action link automatically into the Page Tools of the Dokuwiki template. An important benefit of the plugin is that it is independent of the template files, making it unnecessary to re-edit them with each upgrade.  +
- +
-<code php action.php> +
-<?php +
-/** +
- * Action adding DW Edit button to page tools (useful with fckedit) +
- * +
- * @author     Anonymous +
- * @author     Kamil Demecki <kodstark@gmail.com> +
- */ +
- +
-if (!defined('DOKU_INC'))  +
-{     +
-    die(); +
-+
- +
-class action_plugin_dwedit extends DokuWiki_Action_Plugin +
-+
-     +
-    function register(&$controller) +
-    { +
-        $controller->register_hook('TEMPLATE_PAGETOOLS_DISPLAY', 'BEFORE', $this, 'dwedit_action_link'); +
-    } +
-     +
-    function dwedit_action_link(&$event, $param) +
-    { +
-        if (!$_SERVER['REMOTE_USER'])  +
-        { +
-            return; +
-        } +
-        global $ID; +
-        $event->data['items']['dw_edit'] = '<li><a href="doku.php?id=' . $ID . '&do=edit&mode=dwiki&fck_preview_mode=nil" ' . 'class="action edit" rel="nofollow" title="DW Edit"><span>DW Edit</span></a></li>'; +
-    } +
-+
-?> +
-</code> +
- +
  
  
plugin/fckg.1553001943.txt.gz · Last modified: 2019-03-19 14:25 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