-
Notifications
You must be signed in to change notification settings - Fork 51
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
Basic setup doesn't display icons #41
Comments
you can style them as you want. by default they are using material design icons.
this one is strange we will look into it |
Thanks for that. I’ve been looking at PRs and the code to see how to pass the icons theme but couldn’t find anywhere where you define the icon theme. Would you mind giving an example of how to use for example Font awesome for them? I would really appreciate it |
Found the issue. I think in the example it is missing the single quotes within the double quotes and that way it works. The Thanks, |
I'll create example for you and you are more than welcome to make PR with all suggested changes! :)
you mean "source"? - to output HTML source |
@CarlosTorrecillas thank you for you feedback and research I've updated readme with examples and also fixed the bug with custom buttons |
It's weird because I want to use the basic example with the [content] being a two-way binding field and it doesn't work. I only get it work if I have the contentChange and assign it on that method. Unfortunately I can't get it to work either with pre-existing content. So for example if I add new content using the editor and I load the screen with that content, it wouldn't show up in the screen. |
I was having the same issue for the icons. Icons were not showing after completing all installation steps, so I've added I was confused by the fact that I was importing this: So perhaps it would be worth adding to the Readme that the material icons imported with Angular Material 2 won't work out of the box. |
yes, we updated all the examples you should use ngModel here. It was an outdated example in docs. |
It's weird I have Update: |
thank you all for your feedback, I've added some documentation |
why are these icons not part of the dist ? and this does not work :
|
you can use any icons, and you are also welcome to make PR |
Following the EXAMPLES here https://github.com/stevermeister/ngx-wig, no icons appear on the format options in the text editor
Also, the example "Set buttons":
<ngx-wig [content]="text1" [buttons]="formats, bold, italic"></ngx-wig>
seem to throw an errorParser Error: Unexpected token ',' at column 8 in [formats, bold, italic] i...
The text was updated successfully, but these errors were encountered: