Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some updates #60

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

ReviakinAleksey
Copy link

Hi, after some time of wysiwig directive usage i decided to pupose some minor changes

  1. I implemented automatically applying of following textarea element styles: font-family, font-size and color. This was little bit tricky, because reading styles using window.getComputedStyle does not give me right result before i change target element for getComputedStyle function to angular.element("#" + scope.textareaId)[0]. Demo page updated with usage example.
  2. There was some old core related to 'css-class' in demo, that caused "cannot create warning this element" warning. I removed this code.
  3. Minor update for color menu button UI update, now when you choose color in color picker menu button also changes color.

Hope you find my changes useful.
P.S.
Sorry for large amount of changes in pull-request, it is caused because I added Array style directive definition fot minification support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants