Panels support for this would be amazing -- you're building a site with panels, and you want a graphic in that corner? Just add an SVG pane, draw something, save it, and BOOM! Instant graphic content, no image editor required.

I have very little for time at the moment, but I'm willing to write a patch once I get a second -- I don't think it'd be very hard.

Comments

josegaert’s picture

Good idea, thank you!

I'll make another update this weekend with some patches this weekend.

aendra’s picture

Hi!

Did you get around to this? I spent half an hour on it over the weekend and am able to get it to display the editor and everything, but am having troubles feeding the output back into the form (I think it's because the Javascript's expecting form elements named differently), which tells me my hook isn't found (Odd, since that hook is what's calling the script in the first place, and that hook is what's displaying the error message).

At any rate, I'm not wanting to overlap with anything you're doing -- please let me know if you want me to continue on this, or if you've already written something yourself! Thanks!

josegaert’s picture

Dear aendrew,

I've uploaded my current version. Please try again, and tell me where the bugs appear. So that I can repair them.
Don't worry, I am actively working on this!

aendra’s picture

I just cloned the latest version from git and don't see any Panels support -- did you write any in? If not, feel free to assign that to me, I'll happily work on that once I get a chance.

josegaert’s picture

Hi,

I unfortunately don't have time to implement panels support. I also have no experience with the panels code. So please do!
I'm certain that you are a more seasoned developer than I am, so any comments on my code are most welcome!

aendra’s picture

Cool, will do when I'm bored over Christmas. I've built a lot of Panels content type modules lately, the development house where I'm currently working somewhat specializes in them. I'm pretty close already actually; I just need to get the form returning to the right place it seems.