on 02-22-2013 8:05 AM
Hi,
With normal and supported way, you cannot remove only the bold button.
Some "hacking" can only help in this case, but SAP does not recommend it.
Thanks,
Gabor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I encountered this post while searching for the same problem and found a solution that i wanted to share.
Create a style.css file with the following code:
*[id*="_tbar_bld"] {
display:none;
}
Import the file as a MIME-object in your webdynpro component.
Create a HtmlContainer element in the beginning of your view and name it CUSTOM_CSS.
In the HtmlContainer, insert a CSS style with source = style.css
Run your webdynpro application, the Bold button should not be visible anymore. The css property will hide the button.
If you are looking to hide other buttons as well: here are the HTML elements you need to hide:
*[id*="_tbar_bld"] -> Bold
*[id*="_tbar_itl"] -> Italic
*[id*="_tbar_idnt"] -> increase indent
*[id*="_tbar_odnt"] -> decrease indent
*[id*="_tbar_olist"] -> ordered list
*[id*="_tbar_ulist"] -> unordered list
*[id*="_tbar_head1"] -> Header 1
*[id*="_tbar_head2"] -> Header 2
*[id*="_tbar_head3"] -> Header 3
*[id*="_tbar_paragraphSpacing"] -> Paragraph Spacing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not sure whether we can hide the single button in the tool bar as there is not methods in the class for Formatting text edit differentiates the toolbar buttons.But there are options where you can hide the toolbar completely.
Best regards,
Arun Krishnamoorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.