Jacques Distler
2dfb852727
Fix connectors to work with foreignObject
...
Alexis got this working on SVG-Edit trunk.
2010-02-18 10:12:44 -06:00
Jacques Distler
08cd194330
Restore line-height fix for foreignObjects
...
Line-height is inherited, and the setting in SVG-Edit
ever-so-slightly screws up foreignObject (the bounding box
is not where it should be. This can be fixed in the CSS
(and was, till the great migration to the extensions folder).
2010-02-17 15:44:53 -06:00
Jacques Distler
b302bf36c5
Fixes to foreignObject Extension
...
(From Alex)
2010-02-17 14:48:49 -06:00
Jacques Distler
ea581a50ae
setCustomhandlers
...
Further whittling away at differences between
Instiki's and the main branch of SVG-Edit.
Now, the saveHandler is set from within the calling
page.
If the editor was opened from Instiki, choosing "Save Image"
now closes the editor window. To leave it open was kinda confusing.
Also sync with latest SVG-Edit changes.
2010-02-17 14:28:00 -06:00
Jacques Distler
4475f02586
Fix SVG-Edit Regression
...
"text" and "foreignObject" tools should not
disable "line" and "freehand" tools.
2010-02-17 08:26:05 -06:00
Jacques Distler
db5b418659
Andrew Stacey says I can't count ...
2010-02-17 07:29:15 -06:00
Jacques Distler
ce47d49e69
SVG-Edit foreignObject tool refactored as an extension
...
Thanks to Alexis Deveria. (Though I did fix one small bug.)
My patch-file is now down to a mere 178 lines (a big
chunk of which is Revision 569).
Also, the font-size for foreignObjects defaults to 16pt,
which will be more useful in Instiki.
2010-02-16 23:14:04 -06:00
Jacques Distler
63f1d34d74
Fix a bug in cloning MathML nodes in Firefox
...
Gecko-based broswers append some weird-shit
attributes. Filter them
2010-02-16 13:55:36 -06:00
Jacques Distler
5094a7339b
Make SVG-Edit Clone-Element Work with foreignObject
...
Fixes SVG-Edit Issue #485 .
2010-02-16 11:17:45 -06:00
Jacques Distler
d6e749cf6a
Make the SVG-Edit sanitizeSVG() Namespace-Aware
2010-02-15 13:53:07 -06:00
Jacques Distler
10c0e709f6
Fix SVG-Edit Issue #484
...
Incorrect namespace handling broke Text tool.
2010-02-14 22:07:45 -06:00
Jacques Distler
ee5d03dca6
One more attempt at namespace sanity
2010-02-14 16:36:26 -06:00
Jacques Distler
2151c8d86b
More Namespace fun
...
I don't know why they want to mess
with this, but it's clearly way more
complicated than any benefit I can see
it yielding.
2010-02-14 03:16:54 -06:00
Jacques Distler
2e16458c44
Namespace Handling in SVG-Edit becomes a little saner.
2010-02-14 01:20:59 -06:00
Jacques Distler
612fbf2920
Fix SVG-Edit Issue 483
...
Fix http://code.google.com/p/svg-edit/issues/detail?id=483
2010-02-13 23:22:36 -06:00
Jacques Distler
afcdc932ff
Two SVG-Editor buglets
...
Should not be able to convert a foreignObject
to a path.
#foreignObject_panel should always be initially
invisible.
2010-02-13 22:19:14 -06:00
Jacques Distler
c608cedab9
Make foreignObject editing work in Safari
...
"Apply Changes" no longer generates an error in Safari.
2010-02-13 14:44:56 -06:00
Jacques Distler
620bb2a1f7
Fix Safari
...
Revision 1380 of SVG-Edit broke Safari.
Revert the problematic change.
2010-02-13 14:15:55 -06:00
Jacques Distler
d503100fe9
Mostly cosmetic
...
Sync with latest SVG-Edit.
Tweak an icon.
2010-02-13 00:11:13 -06:00
Jacques Distler
db7bbca920
Minor tweaks to SVG-Edit
...
1) Tweak the edit_foreign icon
2) Make the query parameter matching a little
less dumb (but still very dumb).
2010-02-12 17:38:17 -06:00
Jacques Distler
52d85c6d01
Don't use a data-url
...
Pass the SVG to the editor, using
editor.svgCanvas.setSvgString(selected);
instead. (Suggested by Jeff Schiller)
Fix a bug with line and freehand tools caused
by activating foreignObject tool. (Again, fix
due to Jeff)
Sync with SVG-Edit.
2010-02-12 12:34:56 -06:00
Jacques Distler
e744a697c2
Update edit-foreign icon
...
Also, a tweak to the loading code.
(Needs to be completely rewritten.)
2010-02-12 09:12:01 -06:00
Jacques Distler
0b459d0a47
Whoops! Missed another piece of XML Namespace Bogosity
...
Also forgot to add the new PNGs.
2010-02-12 00:16:13 -06:00
Jacques Distler
502d4f20bb
foreignObject Support in SVG-Edit
...
Added support so that you can
create new foreignObjects, manipulate
existing ones, and edit their content.
No itex support. You need to use MathML
in there. But it's a start ...
2010-02-12 00:01:27 -06:00
Jacques Distler
9047e5d460
Fix SVG-Edit code for rotating objects
...
A little math goes a long way ...
Also pick up some updates from SVG-Edit trunk.
2010-02-10 15:41:47 -06:00
Jacques Distler
1d8318cfd2
foreignObject are now selectable, etc
...
They are now selectable, draggable, resizable
and rotatable.
The MathML content behave strangely when you
resize, but snaps back to its correct size when
you let go of the mouse.
(Resizing the MathML involves changing the font-size
on the containing foreignObject. No interface for
that, yet.)
2010-02-10 11:37:26 -06:00
Jacques Distler
d362b886c2
Make Embedded MathML Visible
...
Thanks to Jeff Schiller for tracking
down the problem (and committing
preliminary MathML support to SVG-Edit).
2010-02-10 00:11:14 -06:00
Jacques Distler
7114e46817
Sync with SVG-Edit
2010-02-09 11:44:43 -06:00
Jacques Distler
65b00d8551
A fist stab at foreignObject support
...
Ability to resize (etc) the still-invisible
element.
Also, some improvements from SVG-Edit trunk.
2010-02-08 21:39:35 -06:00
Jacques Distler
f98802336f
Minor tweaks
...
Allow 'markdown' attribute on <svg> and
on <foreignObject> in SVG-edit whitelist.
Specify SVG-edit Window properties.
2010-02-08 01:26:41 -06:00
Jacques Distler
c32e5b7178
Sync with SVG-Edit
2010-02-06 16:55:49 -06:00
Jacques Distler
c5e5f1ef2c
Yet Another "Focus" Tweak
...
I'm not that happy with passing
the SVG as a Base64-encoded
query-parameter.
Will have to fix that, too...
2010-02-06 01:44:41 -06:00
Jacques Distler
b5a7f7ac05
Add MathML Support to SVG-edit
...
Doesn't actually render anything,
but doesn't strip out all the
MAthML tags, either.
2010-02-06 01:14:42 -06:00
Jacques Distler
bad5beec29
Sync with SVG-edit
2010-02-05 23:17:34 -06:00
Jacques Distler
de3008d3e4
Some SVG-edit tweaks
...
Remove the XML prolog.
Fix focus on save.
2010-02-05 22:55:54 -06:00
Jacques Distler
c3ed5b461b
Preliminary SVG-edit Support
...
WYSIWYG SVG editing.
Still no support for mixed
SVG/MathML content, yet.
2010-02-05 21:36:35 -06:00
Jacques Distler
5506f87f17
One-Click S5 Template
...
Make it yet-easier to create
S5 slideshows.
2010-01-28 23:37:10 -06:00
Jacques Distler
bafa7743f1
Allow Periods in Page Names
...
Thanks to Jeff Zellman.
2010-01-26 00:18:30 -06:00
Jacques Distler
979ea7eca0
CSS Improvements
...
Fixed a few aesthetic matters.
2010-01-23 00:21:14 -06:00
Jacques Distler
c8ef0a3dd4
Release Instki 0.18.1
...
Seems warranted, in light of the
Ruby 1.9 encoding issues.
2010-01-07 00:07:10 -06:00
Jacques Distler
6e6bf1a446
Yikes! Yet more Ruby 1.9 Encoding Issues
...
We're getting there. Thanks to Andrew Stacey.
2010-01-05 09:35:14 -06:00
Jacques Distler
ea431ad373
Stylesheet tweak
...
Don't put boxes around links on the web_list page.
2010-01-04 23:00:36 -06:00
Jacques Distler
e3aa626489
Better Display of Interweb Wikilinks
...
Perhaps not the most creative use of CSS. But,
at least, this will read better.
2010-01-03 13:19:47 -06:00
Jacques Distler
f66fc4de4d
Fenced Code Blocks, Fortran Syntax Colouring
...
Support Marhdown Extra's fenced code blocks. [From Jason Blevins]
Fortran syntax colouring. [From Jason Blevins]
Turn on Syntax colouring, by default.
Point to Michel Fortin's Markdown Extra page.
2009-12-31 15:54:01 -06:00
Jacques Distler
a705709f9a
Vendor Rack 1.1
...
Also clean up some View stuff.
2009-12-26 14:00:18 -06:00
Jacques Distler
fcef0fd031
Stylesheet tweak
2009-12-25 04:26:07 -06:00
Jacques Distler
af0f607e75
Syntax Colouring
...
New syntax colouring modes.
In addition to the existing
html, xml, ruby
we now support
yaml, ansic, javascript, sqlite, css
2009-12-24 00:45:45 -06:00
Jacques Distler
a1420aa5c7
Revamp Markup Cheat Sheets
...
They still suck, but less-so.
2009-12-17 10:29:51 -06:00
Jacques Distler
c88a1d43dc
Another Textarea Resizing Tweak
...
Handle the 'Change page name'
part of the form more intelligently.
2009-12-12 22:37:38 -06:00
Jacques Distler
a58bee7437
Another Textarea Tweak and a Ruby 1.9 Fix
2009-12-12 15:28:05 -06:00