Comments (1)
Hi, sorry for the delay on this.
I tried to repro this locally but couldn't (my element had a style
object). However the fix is fairly clear (check for the style
object), so I published an updated version, so try it out!
With this fix, it should no longer error when SVG elements are present, but are you actually trying to use it ON SVG elements? If so you might run into some errors.
After diving into your issue a bit, it occured to me that SVG won't really work here as the attributes needed to be updated are different. I started working on support for this, but it begs the question: what kind of output would be expected here?
Normally the output would be CSS, however, with SVG the styles are essentially embedded. Would the entire SVG object be expected? Anyway will have to have a thought about this before support can be added I suppose.
At any rate the error should be fixed now!
from positionable.
Related Issues (12)
- Relative position elements support HOT 3
- Resize handles for small elements HOT 3
- Extremely difficult to pick up the DOM element you need HOT 4
- Add support for css transform: translate3d(...) HOT 2
- In Positionable, how do I select element to resize or move? HOT 4
- Is it possible to make Positionable work in chrome app mode? HOT 1
- Dragging Form Field Elements Not Supported HOT 3
- Fix Copying Multiple Styles When Multiple Selected HOT 4
- Positionable not working for local file HOT 1
- Positionable 2.1.0 not loading HOT 1
- Positionable suddenly needs access to browsing history HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from positionable.