Compatible with DokuWiki
- 2012-01-25 "Angua" unknown
- 2011-05-25 "Rincewind" yes
- 2010-11-07 "Anteater" unknown
Create and edit diagrams in the browser using a Java Applet. The plug-in also features off-line diagram editor.
This plugin was derived from the draw plug-in.
jDraw plug-in homepage contains additional information, including detailed installation and configuration instructions. It is strongly recommended to follow instructions on the plug-in home page as they are more complete and up to date!
DokuWiki Syntax:
{{jdraw>[namespace:]name}}
Examples:
{{jdraw>mynamespace:mydiagram}}
{{jdraw>mydiagram}}
It should be noted that this plugin, to be enabled on a wiki page requires at least a Delete permission
on the page/namespace.
* Added by Liran Tal
The plugin doesn't load the saved .mxe file due to a typo of the .mxe filename, edit line 103 and replace $name with $namespace
Which file is this in? I haven't been able to find where to make the change. By just removing the &isNew=yes from the
URL, I'm able to load old files. And it seems like the code that controls this is in lib/plugins/jdraw/syntax.php between lines 100 - 102, but changing that $name with $namespace doesn't do the trick.
* Added by Liran Tal
Seems the solution is easy, you just need to add in your page
~~NOCACHE~~
in order to prevent caching and with this trick you can edit the page without problem. (Added by Luc Patiny)
This trick worked for me. Thanks. (Andreone 20110322)
* Added by Pekka Savolainen
I love this plugin, however there are currently bug which renders it unusable. With certain diagrams (large enough) if i try modify them browser throws error:
Could not load diagram com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceExeption: Invalid byte 2 of 3-byte UTF-8 sequence.
However i can save them ok in first place, problem occurs when i try reopen them later.
Figured reason: You cant use any “ä”, “ö” like letters in diagram, it crashes it. This could be nice if it will be fixed :)
* Added by Brad White (20110228)
It would be nice to be able to upload my own graphic icons.
(Andreone 20110322) I second this one, it would be really cool. Even by just dropping png into a subfolder of the plugin.
(Pavel Vlasov 20120208) This is implemented, instructions on how to create additional palettes are on the plugin home page.
* Added by steveg (20110503)
We are looking for a way to add a button to automatically add the {{jdraw tag with a prompt for namespace:diagname but couldn't come up with a good solution. (this is using fckg). that would be fantastic! (Pavel Vlasov 20120208) This one is implemented, there is no prompt - it just inserts {{jdraw>jDrawDiagram}} text at the cursor with jDrawDiagram selected.