kimoa / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
3 stars 0 forks source link

jquery ui integration #563

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
to continue with some improvement, why don't use jquery ui for the editor,
especially as svg-edit allready use the jquery ui library. 
you could integrate :
- buttons
- sliders
- colorpickers
- standard uijquery icons
- ...

Original issue reported on code.google.com by samuel.goldszmidt on 28 May 2010 at 8:20

GoogleCodeExporter commented 9 years ago
i agree.
I am trying to create a function to get an SVG image from a server using PHP & 
jquery. 
But I am having trouble integrating into SVGedit. 
If you have any ideas how this could be done, it could lead to a new clip art
extension i'm trying to build.

Original comment by dezigns...@gmail.com on 30 May 2010 at 9:11

GoogleCodeExporter commented 9 years ago
(off topic : here http://code.google.com/p/svg-edit/wiki/ConfigOptions you have
options you can pass to svg-edit, so, i don't think you really need php and 
jquery to
achieve that, see preload file section)

Original comment by samuel.goldszmidt on 31 May 2010 at 7:17

GoogleCodeExporter commented 9 years ago
I am trying to get around having to preload files so I can "import" a 
dynamically
generated SVG image on the fly with out losing the current image.

Original comment by dezigns...@gmail.com on 31 May 2010 at 4:48

GoogleCodeExporter commented 9 years ago
When I started using jQuery UI I too considered using more of its 
features...but 
decided not to for the following reasons:

- We don't need the standard icons, since we already have our SVG-based icons 
that 
scale nicely according to our needs.
- Our color picker is integrated with our gradient picker, so switching to 
jquery 
UI's picker makes little sense (or would at least require more work in 
modifying 
jGraduate to work with it)

We do use the slider function currently, however, and other widgets may be 
worth 
adding in the future. But I prefer seeing if we can write a more lightweight 
version 
ourselves that's better customized to our needs. 

Is there any particular jQuery UI feature you feel would really benefit the 
project? 
If not, I will close this issue.

Original comment by adeve...@gmail.com on 1 Jun 2010 at 1:56

GoogleCodeExporter commented 9 years ago
I disagree with some of your arguments because, it seems to me that svg-edit 
allready
use the jquery ui, so you could take benefits from using its widget. In other 
words,
even if you write lightweight code, it will be more than just using jquery ui 
library.

Also, for better code, I'm sure that using jqueryui widget would be better (and 
easier).

Finally, what I really would like to have is an "easy to custom" svg-edit 
widget,
like I do with TinyMCE.

Thanks for your previous answer

Original comment by samuel.goldszmidt on 1 Jun 2010 at 2:08