hello ~
there is an error occurred when exporting with the plugin in 2025.3
previous API:this.sketchObject.CSSAttributes()
TypeError: this.sketchObject.CSSAttributes is not a function. (In ‘this.sketchObject.CSSAttributes()’, ‘this.sketchObject.CSSAttributes’ is undefined)
rodionovd
(Dmitry Rodionov)
2
Hello there!
Sorry for the late response, but I believe that you should be able to replace this line:
this.sketchObject.CSSAttributes()
with this:
this.sketchObject.CSSAttributeString().split('\n')
which will produce essentially the same results. See also Function to get CSS Attributes removed from API?
Let me know if this works for you!
it works perfectly!thank you so much!
1 Like