Harvie / DokuWiki-Plugin-SVGEdit

An ultimate way, to create, store, edit, and embed SVG images in DokuWiki. [Looking for developers/adopters]
http://www.dokuwiki.org/plugin:svgedit
17 stars 9 forks source link

Still don't see svg edit buttons #12

Open satart opened 11 years ago

satart commented 11 years ago

Hi, i can't use this plugin. I did following:

add svg to a page {{svg>page.svg}}

clickt on the link @page.svg create the page

don't see any "SVG" button.

How can i solve this problem? Weatherwax with Firefox 21, Chromium 24.0.1312.56 @ubuntu 12.04

uuf6429 commented 11 years ago

I've got the same problem.

gd2 commented 11 years ago

Ok for me after remove files data/cache/*

Harvie commented 11 years ago

It's possible... i don't know how other plugins are handling this. Maybe you just should delete cache after installing new plugins... I think there's even some user-friendly way to delete it... clicking on some link or passing something like ?cleanup in url... you can google it... it's probably not bug of this plugin as it has to do somehing with state of dokuwiki before instalation. once properly installed it seems to be OK. (eg.: if you have plugin installed and enabled before visiting page for the first time).

Please let me know if there's something else i can do about it.

loookin commented 10 years ago

This plugin is not working with Firefox 26 on Ubuntu linux. SVG image is drawn, but no edit button is shown. Also the svg editor on demo link is not correctly working (it draws objects on bad coordinates and also moving and rotating is bad handled -- wrong direction).

emeyal commented 10 years ago

Same here - no SVG button? :-( Eyal

Harvie commented 10 years ago

Any idea what causes this? Seems to be working for me...

emeyal commented 10 years ago

Hmmm... no idea. I have one installation on MAC and one on Suse. In both I don't have the SVG button. Tried Chrome, Firefox, Safari. when I press the svg link : {{svg>namespace:page.svg}} I get the "This topic does not exist yet". When I edit the new page there is no SVG button.

Eyal

Harvie commented 10 years ago

Do you have the latest dokuwiki?

emeyal commented 10 years ago

Thanks, Yes, it is the latest stable release: Release 2014-05-05 "Ponder Stibbons" Eyal

chang-zhao commented 9 years ago

Javascript is broken somehow. (FF 27 on Windows). It doesn't show SVG button, and it make disappear all the custom buttons I added to the doku editor's toolbar by userscript.js

(Purging cache etc doesn't help).

Also, when I create {{svg>x.svg}} on a page, that page shows an error, something like:

XML syntax analysis error: missing element http://docu_base.org/data/_export/svg/my_namespace/x.svg String 1, pos 1.

dmitry-yudakov commented 9 years ago

Some of the functions used in the plugin ( addInitEvent(), $() ) are deprecated in newer dokuwiki versions: https://www.dokuwiki.org/devel:jqueryfaq#what_are_the_most_commonly_used_js_features_that_are_now_deprecated IMHO addInitEvent() needs to be replaced by jQuery(), while $() could simply be replaced by document.getElementById(). There's a pull request fixing it in this project but not yet accepted.

When I tried the plugin I also had security alerts from Chrome loading svg-edit externally from https://svg-edit.googlecode.com - it's possible to switch to offline version, see the commented lines at the top of script.js.