Topic: Wysiwyg options
Hello,
Have you real good documentation to use WYSIWYG ! Because on this page, the code is all same and i not see difference between all example https://mdbootstrap.com/plugins/jquery/wysiwyg/
I would like desactivate buttons ans translate. Should i change directly into the library file JS ? the vars "translations" and for the display button into "buildTemplate" > "template"
Thanks
Tomek Makowski staff answered 4 years ago
Hi
You're right there is some lack of content in wysiwyg documentation. We will fix it soon.
If you want to translate some specific content try to do this in this way
$("#demoTranslations").mdbWYSIWYG({
translations: {
paragraph: 'Paragraph',
heading: 'Heading',
preformatted: 'Preformatted',
bold: 'Bold',
italic: 'Italic',
strikethrough: 'Strikethrough',
underline: 'Underline',
textcolor: 'Color',
alignleft: 'Align Left',
aligncenter: 'Align Center',
alignright: 'Align Right',
alignjustify: 'Align Justify',
insertlink: 'Insert Link',
insertpicture: 'Insert Picture',
bulletlist: 'Ordered List',
numberedlist: 'Numbered List',
enterurl: 'Enter a URL',
imageurl: 'Image URL',
linkdescription: 'Enter a description for this link',
linkname: 'Link name',
showHTML: 'Show HTML code'
},
});
Regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.16.0
- Device: Mac
- Browser: Chrome
- OS: Catalina
- Provided sample code: No
- Provided link: Yes