Topic: wysiwyg tooltips bottons
Bartosz Termena staff answered 5 years ago
Hi!
Use options
Input, and in it translations
option, which allows to overwrite default plugin translations. Below example of how to remove some tooltips from the tooltips bar:
<mdb-wysiwyg [options]="options" [value]="value"></mdb-wysiwyg>
TS:
options = {
tooltips: true,
translations: {
textElements: {
paragraph: 'Paragraph',
heading: 'Heading',
preformatted: 'Pre-format'
},
textStyle: {
bold: 'bold',
//removed italic: 'italic',
strikethrough: 'strikethrough',
//removed underline: 'underline',
color: 'color'
},
textAlign: {
justifyLeft: 'justifyLeft',
justifyCenter: 'justifyCenter',
justifyRight: 'justifyRight'
// removed justifyFull: 'justifyFull'
},
imageAndLink: {
createLink: 'createLink',
insertImage: 'insertImage',
linkURLPlaceholder: 'linkURLPlaceholder',
imageURLPlaceholder: 'imageURLPlaceholder'
},
lists: {
insertOrderedList: 'insertOrderedList'
},
showHTML: 'showHTML'
},
colors: {
red: '#d50000',
green: '#64dd17',
yellow: '#fff176',
blue: '#03a9f4',
purple: '#6a1b9a',
white: '#fff',
black: '#000'
}
};
Hope it helps!
Best, Bartosz.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.1.1
- Device: Mac
- Browser: Chrome
- OS: OS
- Provided sample code: No
- Provided link: No