Juicy / juicy-ace-editor

Custom Element with the Ace code editor
http://juicy.github.io/juicy-ace-editor/
MIT License
93 stars 34 forks source link

inject ace theme styles to element #3

Closed triglian closed 9 years ago

triglian commented 9 years ago

To enable the usage of juicy-ace-editor within the definition of custom Polymer elements we need someway to pull ace theme styles to the shadow DOM. With this pull request, a listener is set to detect theme changes and inject the theme's CSS inside the juicy-ace-editor element. Btw, we can modify this to inject the styles to the shadowDom of the element.

tomalec commented 9 years ago

Thanks a lot @triglian :) That is definitely great idea.

triglian commented 9 years ago

:-)

and80506 commented 9 years ago

That is good, Thank u for solve my ploblem.