plugin:dblclickedit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:dblclickedit [2009-07-06 23:07] – 70.103.232.219 | plugin:dblclickedit [2015-09-13 19:04] – Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== dblclickedit | + | ====== dblclickedit |
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
author | author | ||
- | email : hakan.sandell@home.se | + | email : sandell.hakan@gmail.com |
type : Action | type : Action | ||
- | lastupdate : 2009-07-05 | + | lastupdate : 2012-12-30 |
- | compatible : 2007-06-26b, | + | compatible : 2007-06-26b, |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : | + | tags : |
+ | |||
+ | downloadurl: | ||
+ | bugtracker : https:// | ||
+ | sourcerepo : https:// | ||
---- | ---- | ||
Line 17: | Line 21: | ||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download and install the plugin using the [[plugin: | + | Download and install the plugin using the [[plugin: |
- | ^ **Download** | [[http:// | ||
- | |||
- | See also: [[#Source Code]], [[#Change Log]], [[#Known Bugs and Issues]], [[# | ||
===== Usage ===== | ===== Usage ===== | ||
After installation just double click on a page to enter edit mode. JavaScript must be enabled in your browser and you may have to clear the cache. | After installation just double click on a page to enter edit mode. JavaScript must be enabled in your browser and you may have to clear the cache. | ||
- | ==== Section Edit ==== | + | The plugin supports section |
- | Section | + | |
- | + | ||
- | Original code: | + | |
- | return $secedit; | + | |
- | + | ||
- | Modify to: | + | |
- | return $matches[0].$secedit; | + | |
===== Development ===== | ===== Development ===== | ||
- | The first release was very simple. It adds ondblclick event for section and header %%< | ||
- | Section edits in second release is based on the same mechanics as the section edit button. If %%<!-- SECTION ... -->%% comments | + | This plugin will never become an in-line editor |
- | I still want ability to edit large tables and code sections, | + | The plugin is dependent on the template used. It has been tested with the most popular |
- | === Source Code === | ||
- | |||
- | The source code is available at [[http:// | ||
- | |||
- | ==== Development Resources ==== | ||
=== Change Log === | === Change Log === | ||
- | * **2009-07-05** | ||
- | * Simple section edit((if you modify the DokuWiki core code)) | ||
- | * Work with other [[config: | ||
- | * Work with URL [[: | ||
- | * **2009-07-01** | ||
- | * Initial release | ||
- | ---- | + | {{rss> |
- | === Known Bugs and Issues === | + | |
- | + | ||
- | ---- | + | |
- | === ToDo/Wish List === | + | |
- | * Advanced section edit, aware of tables and %%< | + | |
===== Discussion ===== | ===== Discussion ===== | ||
- | There is also another solution to inline editing proposed by **emanuele** called [[http:// | + | I don't know much about what is easily possible in the plugin, but it would be fantastic if some javascript could pick up on the exact text clicked |
- | + | ||
- | Nice plugin! This is really what I want, but it does not work with URL rewrite right now. Hope this issue will be fixed soon. --- //[[reder.tseng@gmail.com|Reder]] 2009/07/04 08:27// | + | |
- | > Fixed now | + | > Let's just say it isn't easy ;-) --- [[user> |
plugin/dblclickedit.txt · Last modified: 2023-10-30 23:04 by Klap-in