Button visibility
See original GitHub issueHi, I’m using your component on my new web site. Really compliments for your work. Could be nice to have a configuration to show/hide the tool-bar buttons (a boolean with true as default for each of the item of the tool-bar).
At the momet I’m disabling them with the css like (where “blog” is the id of the controller
#strikeThrough-blog,
#subscript-blog,
#superscript-blog,
#customClassSelector-blog {
display: none;
}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
HTML DOM Style visibility Property - W3Schools
The visibility property sets or returns whether an element should be visible. The visibility property allows the author to show or hide an...
Read more >HTML button hidden Attribute - Dofactory
The hidden attribute on a button element hides that element. ... Although the button is not visible, its position on the page is...
Read more >visibility - CSS: Cascading Style Sheets - MDN Web Docs
The visibility CSS property shows or hides an element without changing the layout of a document. The property can also hide rows or...
Read more >Hide or show HTML elements using visibility property in ...
The visibility property specifies that the element is currently visible on the page. ... Click the buttons to show or hide the green...
Read more >Button visibility - Microsoft Q&A
Button visibility. Hello I am trying to create a button (home) that will make another button visible when clicked, this part of it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for your feedback, I’ll have to think whether it will be convenient to implement.
I am doing this way and is working:
In html file put any id to the component editor, for example “myEditor”
<angular-editor id=“myEditor” </angular-editor>
In Css file put the code below:
:host /deep/ angular-editor#myEditor .angular-editor-button[title=“Insert Image”]{ display: none }
If you want remove others buttons, just copy and paste the code and change the title.