plugin:draw
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:draw [2009-11-26 07:19] – 67.182.174.24 | plugin:draw [2022-01-29 19:55] (current) – Obsolete, Java is not anymore Klap-in | ||
---|---|---|---|
Line 10: | Line 10: | ||
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : media, images, diagram, java, !discontinued | + | tags : |
---- | ---- | ||
+ | |||
+ | Java applets such as used in this plugin are not supported in recent browsers anymore. | ||
Draw and Edit diagrams using a Java Applet. This plugin is an adaption of the [[http:// | Draw and Edit diagrams using a Java Applet. This plugin is an adaption of the [[http:// | ||
Line 23: | Line 26: | ||
//Julian Rüth 2008-04-14// | //Julian Rüth 2008-04-14// | ||
+ | |||
+ | > [[plugin: | ||
===== Syntax ====== | ===== Syntax ====== | ||
- | Dokuwiki | + | DokuWiki |
< | < | ||
Line 250: | Line 255: | ||
* I have a problem. When I add a text box and it contains a new line the .draw file won't load. When I look in the .draw file I see that the string has a ^M before the \n. If I remove the ^M it loads. --- //Fredrik Espinoza 11/23/2995 17:45// | * I have a problem. When I add a text box and it contains a new line the .draw file won't load. When I look in the .draw file I see that the string has a ^M before the \n. If I remove the ^M it loads. --- //Fredrik Espinoza 11/23/2995 17:45// | ||
- | * It's working for me ! That's really great !! I was waiting for that tool for several years ... THANKS A LOT. //Cyrille 2006-09-10// | + | * It's working for me! That's really great! I was waiting for that tool for several years... THANKS A LOT. //Cyrille 2006-09-10// |
Using Firefox, when I add a multiple line label to a drawing, there is a new line character inserted after the ' | Using Firefox, when I add a multiple line label to a drawing, there is a new line character inserted after the ' | ||
Line 265: | Line 270: | ||
- | Thank-you, that makes a lot of sense. What a fantastic tool. It is exactly what i needed. | + | Thank-you, that makes a lot of sense. What a fantastic tool. It is exactly what I needed. |
Line 295: | Line 300: | ||
---- | ---- | ||
- | Hello, and thanks for that nice and usefull tool !\\ | + | Hello, and thanks for that nice and usefull tool!\\ |
When I put some ' | When I put some ' | ||
// | // | ||
Line 445: | Line 450: | ||
$conf[' | $conf[' | ||
- | This allows the java app to launch and the GUI displayed. However, then there was the problem with the files not being saved - rendering the plugin practically | + | This allows the java app to launch and the GUI displayed. However, then there was the problem with the files not being saved - rendering the plugin practically |
I did some further investigations and it looks like it has something to do with CSRF within DokuWiki and mediamanager: | I did some further investigations and it looks like it has something to do with CSRF within DokuWiki and mediamanager: | ||
- | [[http:// | + | [[devel:plugin_programming_tips# |
Looks like media manager uses the checkSecurityToken() function. Thus, that is why uploading the file fails. | Looks like media manager uses the checkSecurityToken() function. Thus, that is why uploading the file fails. | ||
Line 465: | Line 470: | ||
==== New Modified Draw Plugin ==== | ==== New Modified Draw Plugin ==== | ||
- | I'm using version 2008-05-05 of DokuWiki and had a hard time to get this plugin running. I used some hints from the comments here, hunted some bugs by myself and added some new funtions. I think the result can be very useful for others trying to run this nice plugin on newer DokuWikis. | + | I'm using version 2008-05-05 of DokuWiki and had a hard time to get this plugin running. I used some hints from the comments here, hunted some bugs by myself and added some new functions. I think the result can be very useful for others trying to run this nice plugin on newer DokuWikis. |
=== Changes === | === Changes === | ||
Line 471: | Line 476: | ||
* fixed absent security token | * fixed absent security token | ||
* fixed multiline label bug (resulted in broken .draw-files) | * fixed multiline label bug (resulted in broken .draw-files) | ||
- | * replaced (almost empty) | + | * replaced (almost empty) |
* image reloads automatically after editor frame is closed (no page reloads are needed anymore) | * image reloads automatically after editor frame is closed (no page reloads are needed anymore) | ||
* editor frame will be centered and/or maximized when started | * editor frame will be centered and/or maximized when started | ||
Line 626: | Line 631: | ||
--- // [[M.Kolodziejski@net.icm.edu.pl|Michal Kolodziejski]] 2008-07-25 // | --- // [[M.Kolodziejski@net.icm.edu.pl|Michal Kolodziejski]] 2008-07-25 // | ||
- | Are you sure this is a real bug? Like [[http:// | + | Are you sure this is a real bug? Like [[devel:plugin_programming_tips# |
A look on the source file '' | A look on the source file '' | ||
Line 670: | Line 675: | ||
--- // [[M.Kolodziejski@net.icm.edu.pl|Michal Kolodziejski]] 2008-07-28 // | --- // [[M.Kolodziejski@net.icm.edu.pl|Michal Kolodziejski]] 2008-07-28 // | ||
- | I just installed the [[http:// | + | I just installed the [[http:// |
plugin/draw.1259216385.txt.gz · Last modified: 2009-11-26 07:19 by 67.182.174.24