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 [2012-10-28 20:09] – plugin:sidebar_template don't exist, guess someone means template:sidebar ?? Klap-in | plugin:dblclickedit [2015-09-13 19:04] – Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== dblclickedit | + | ====== dblclickedit |
---- plugin ---- | ---- plugin ---- | ||
Line 7: | Line 6: | ||
email : sandell.hakan@gmail.com | 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 : Editing | + | tags : Editing, double-click, |
- | downloadurl: | + | downloadurl: |
- | bugtracker : http:// | + | bugtracker : https:// |
- | sourcerepo : http:// | + | sourcerepo : https:// |
---- | ---- | ||
Line 22: | 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 === | + | |
- | FIXME: this plugin is marked as conflicting with the [[template: | ||
- | |||
- | ---- | ||
- | === 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. | + | > Let's just say it isn't easy ;-) --- [[user>HåkanS|HåkanS]] //2012/12/30 21:59// |
- | + | ||
- | > Fixed now --- // | + | |
- | + | ||
- | 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 on, and once the edit page has been displayed, would place the cursor at that particular word. Maybe this could be done with a text search, or maybe this is WAY harder than it sounds, but to me this would be even more useful than section edit. --- // | + |
plugin/dblclickedit.txt · Last modified: 2023-10-30 23:04 by Klap-in