plugin:inlineeditor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:inlineeditor [2011-10-10 23:46] – 130.37.81.170 | plugin:inlineeditor [2019-01-09 21:59] (current) – Corrected downloadurl, mirror failed LarsDW223 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== inlineeditor Plugin ====== | ====== inlineeditor Plugin ====== | ||
- | ---- pluginnews ---- | ||
- | headline: Plugins by same author | ||
- | style: sameauthor | ||
- | ---- | ||
---- plugin ---- | ---- plugin ---- | ||
Line 10: | Line 6: | ||
email : simon.shlomo@poil.dk | email : simon.shlomo@poil.dk | ||
type : action, syntax | type : action, syntax | ||
- | lastupdate : 2011-10-10 | + | lastupdate : 2011-11-03 |
compatible : 2011-05-25 | compatible : 2011-05-25 | ||
depends | depends | ||
- | conflicts | + | conflicts |
- | similar | + | similar |
tags : ajax, editing, inline, javascript | tags : ajax, editing, inline, javascript | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : | + | bugtracker : http:// |
sourcerepo : http:// | sourcerepo : http:// | ||
donationurl: | donationurl: | ||
Line 39: | Line 35: | ||
====== Installation ====== | ====== Installation ====== | ||
- | + | Search and install | |
- | + | ||
- | Install | + | |
Then to make the toolbar work, you need to make a small change to the / | Then to make the toolbar work, you need to make a small change to the / | ||
+ | |||
+ | FIXME : don't work in 2012-01-25 " | ||
Change | Change | ||
- | < | + | < |
- | < | + | < |
- | $('dw_editform' | + | $('dw__editform' |
} | } | ||
catch(e){ | catch(e){ | ||
- | | + | |
} | } | ||
- | </ | + | </ |
It is recommend to change the "lock time" to more than 15 mins, in order to avoid locks are running out too quickly. The plugin implements the full locking mechanism for editing - but does not notice the user about expired locks. | It is recommend to change the "lock time" to more than 15 mins, in order to avoid locks are running out too quickly. The plugin implements the full locking mechanism for editing - but does not notice the user about expired locks. | ||
Line 72: | Line 68: | ||
* **2011-10-10** | * **2011-10-10** | ||
* Fixed minor issue with the .zip file | * Fixed minor issue with the .zip file | ||
+ | * **2011-11-03** | ||
+ | * Fixed ' | ||
Line 95: | Line 93: | ||
Thanks for the comment. Sounds like a better implementation. --Simon | Thanks for the comment. Sounds like a better implementation. --Simon | ||
+ | ---- | ||
It seams that this inlineeditor doesn' | It seams that this inlineeditor doesn' | ||
-- Gerold | -- Gerold | ||
+ | |||
+ | ---- | ||
We really like this plugin-- very convenient to make quick corrections. | We really like this plugin-- very convenient to make quick corrections. | ||
Line 131: | Line 132: | ||
function quickedit_save(id, | function quickedit_save(id, | ||
{ | { | ||
- | pl_si.sack.onCompletion = quickedit_save_cb; | + | |
pl_si.sack.URLString = ''; | pl_si.sack.URLString = ''; | ||
pl_si.id=id; | pl_si.id=id; | ||
Line 138: | Line 139: | ||
var text=document.getElementById(" | var text=document.getElementById(" | ||
var sub=document.getElementById(" | var sub=document.getElementById(" | ||
- | pl_si.sack.runAJAX(' | + | |
} | } | ||
</ | </ | ||
Line 145: | Line 146: | ||
Hi fumigator! Thanks for the help. I have now updated the plugin with your changes. It should now work for all browsers I hope? If anybody wants to help developing further on this plugin, then please drop me a line (my email is above). -- Simon 09/01/2011 | Hi fumigator! Thanks for the help. I have now updated the plugin with your changes. It should now work for all browsers I hope? If anybody wants to help developing further on this plugin, then please drop me a line (my email is above). -- Simon 09/01/2011 | ||
+ | |||
+ | ---- | ||
We found another fairly severe issue when using this plugin which can result in content loss. When editing a page using the normal "edit page" button, if I click " | We found another fairly severe issue when using this plugin which can result in content loss. When editing a page using the normal "edit page" button, if I click " | ||
Hi fumigator. Sorry for late answer, but I do not check this page every day. The preview bug is now fixed. -- Simon 10/09/2011 | Hi fumigator. Sorry for late answer, but I do not check this page every day. The preview bug is now fixed. -- Simon 10/09/2011 | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Thanks for the neat plugin, Simon! | ||
+ | <code javascript> | ||
+ | pl_si.sack.runAJAX(' | ||
+ | </ | ||
+ | to | ||
+ | <code javascript> | ||
+ | pl_si.sack.runAJAX(' | ||
+ | </ | ||
+ | |||
+ | Do you foresee any problems with that? Thanks. --- [[user> | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | Hello, | ||
+ | I tried to implement inlineeditor in Dokuwiki Angua but I cannot find the text to be changed in " | ||
+ | Chris Nelis 20120216 | ||
+ | |||
+ | ---- | ||
+ | Hi, same for me too nothing to change in .js and doesn' | ||
+ | |||
+ | Even worse, it uses old code (from quickedit?) that is DEPRECATED and so triggers lots of warning messages - I've stopped using it. Instead I've implemented a quick and dirty jQuery hack: | ||
+ | < | ||
+ | jQuery(function(){ | ||
+ | jQuery('# | ||
+ | window.location = '? | ||
+ | }); | ||
+ | }); | ||
+ | </ | ||
+ | This seems to work well enough for me though you should not double-click when the editor is already open as it will reopen losing your changes (you do at least get a warning). | ||
+ | |||
+ | Julian Knight 2012-03-15 | ||
+ | |||
+ | === | ||
+ | Hi, | ||
+ | |||
+ | Yes. The inlineeditor doesn' | ||
+ | Simon-Shlomo Poil 2012-05-18 | ||
+ | |||
+ | ==== Messes with Meta data ==== | ||
+ | **Cautionary note:** this plugin will cause the meta data, specifically the description in the meta data, to be filled with HTML with embedded Javascript in it **on every page you modify**. | ||
+ | |||
+ | I only just found about this problem when I was trying to display the " | ||
+ | -[[user> |
plugin/inlineeditor.1318283168.txt.gz · Last modified: 2011-10-10 23:46 by 130.37.81.170