Re: Drag and Drop with MathML is possible?
Frédéric Wang <[email protected]> Thu, 07 Nov 2013 15:41:55 +0100
| Newsgroups | gmane.comp.mozilla.devel.mathml |
|---|---|
| Message-ID | <[email protected]> |
Thank you Raniere, that's great to know that draggable works with MathML too. I suspect the issue could be that the math elements do not always have the correct sizes (have you tried with larger formulas?): https://bugzilla.mozilla.org/show_bug.cgi?id=219873 Perhaps using mpadded to enlarge the selectable area could help: <math> <mpadded draggable="true" width="300%" height="300%" lspace="1width" voffset="1height" mathbackground="red"><mn>8</mn></mpadded> </math> Le 06/11/2013 21:58, Raniere Silva a écrit : > Hi again, > > I'm still trying to drag and drop MathML elements. I figure out that I can > select the math element as text for drag and drop but it isn't easy to do. In > http://www.ime.unicamp.br/~ra092767/dnd/ you will find a screencast showing > that and the HTML+JS used. > > Thanks, > Raniere > -- Frédéric Wang maths-informatique-jeux.com/blog/frederic