html-designer icon indicating copy to clipboard operation
html-designer copied to clipboard

Cannot call method 'insertRule' of undefined

Open brainstormtrooper opened this issue 9 years ago • 5 comments

Can't click/drag/edit/modify any elements in the design view. Using 64bit linux rmp package.

brainstormtrooper avatar Oct 03 '15 14:10 brainstormtrooper

Error is thrown on line 518 of CSSRuleSetManager.js in version 2.0.3 of the extension and version 1.4.0-16380 of Brackets.

brainstormtrooper avatar Oct 03 '15 14:10 brainstormtrooper

Is this the same instance/runtime of brackets where you have installed the designer extension? In case it is and you have not reloaded brackets after that, please reload brackets with extensions or restart brackets.

swmitra avatar Oct 03 '15 16:10 swmitra

(?) yes, I only have one Brackets installation, and I did reload - also without any other extensions - but still the same results.

brainstormtrooper avatar Oct 05 '15 08:10 brainstormtrooper

Juts updated the extension and the result is the same... this.styleSheetRef.insertRule(this.ruleSet.cssText, this.ruleSetPos); gives this error "Uncaugth TypeError: Cannot call method 'insertRule' of undefined"

brainstormtrooper avatar Oct 26 '15 06:10 brainstormtrooper

As I didn't have a linux environment available earlier , this extension was never tested on the same. But now I have started testing the extension , wait for some more time to get the fully operational designer on linux.

swmitra avatar Oct 26 '15 06:10 swmitra