Use "Style Manager" with CMS
Posted: Wed Aug 03, 2022 6:48 pm
Hi Pablo... wonder if it's possible to use the "Style manager" for managing font styles because the editors are som limited?
WYSIWYG Web Builder
http://forum.wysiwygwebbuilder.com/
Hi Pablo. Tnx so much for answering. I have been looking at this page with the customization options... tryed some but seam I am placing this tags in the wrong place... can you please give me a hint in which file and were?Pablo wrote: Wed Aug 03, 2022 8:20 pm No, that will not be possible. The editors are third party scripts, so they have no 'connection' with WWB.
However some editors, like Summer note have a lot of customization options.
https://summernote.org/deep-dive/#custom-styles
Hi Pablo... I'm so sorry to b "a pain in the a...." for youPablo wrote: Thu Aug 04, 2022 6:28 am The options can be added via 'Editor Settings' in the properties of the CMS Admin.
See also:
https://www.wysiwygwebbuilder.com/forum ... hp?t=95265
Pablo... on the post you refer to I copied the second code example in full (select all) as this:Pablo wrote: Thu Aug 04, 2022 1:22 pm The syntax of the settings is not correct.
See also:
https://www.wysiwygwebbuilder.com/forum ... hp?t=95265
Code: Select all
'toolbar': [
['style', ['style',]],
['font', ['fontname', 'fontsize', 'bold', 'italic', 'strikethrough', 'clear',]],
['color', ['forecolor', 'backcolor', ]],
['para', ['ul', 'ol', 'height']],
['insert', ['link']],
['misc', ['picture', 'fullscreen', 'codeview', 'print', 'help', ]],
],
'fontNames': ['Spectral', 'Quicksand'],
'fontNamesIgnoreCheck': ['Spectral', 'Quicksand']
toolbar: [
// [groupName, [list of button]]
['style', ['style']],
['font', ['clear', 'fontname', 'fontsize', 'fontsizeunit' , 'forecolor' , 'backcolor' , 'strikethrough', 'superscript', 'subscript']],
['misc', ['undo', 'redo']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['table', ['table']],
['insert', ['link', 'picture', 'video', 'hr']],
['view', ['codeview', 'help']]
]
toolbar: [
// [groupName, [list of button]]
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']]
toolbar: [
['style', ['style']],
['font', ['clear', 'fontname', 'fontsize', 'fontsizeunit' , 'strikethrough', 'superscript', 'subscript']],
['misc', ['undo', 'redo']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['table', ['table']],
['insert', ['link', 'picture', 'video', 'hr']],
['view', ['codeview', 'help']],
toolbar: [
['style', ['style']],
['font', ['clear', 'fontname', 'fontsize', 'fontsizeunit' , 'forecolor' , 'backcolor' , 'strikethrough', 'superscript', 'subscript']],
['misc', ['undo', 'redo']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['table', ['table']],
['insert', ['link', 'picture', 'video', 'hr']],
['view', ['codeview', 'help']],
Code: Select all
toolbar: [
// [groupName, [list of button]]
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']]
]
Hi again Pablo... getting late in Europe now... but here in Ecuador still working hourPablo wrote: Thu Aug 04, 2022 2:20 pm For example:Note that this is not specific to WWB. The settings will be inserted "AS IS".Code: Select all
toolbar: [ // [groupName, [list of button]] ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough', 'superscript', 'subscript']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']], ['height', ['height']] ]
Code: Select all
'fontNames': ['Spectral', 'Quicksand'], 'Merriweather'],
'fontNamesIgnoreCheck': ['Spectral', 'Quicksand'], 'Merriweather']
Code: Select all
toolbar: [
// [groupName, [list of button]]
['style', ['style']],
['font', ['clear', 'fontname', 'fontsize', 'fontsizeunit' , 'forecolor' , 'backcolor' , 'strikethrough', 'superscript', 'subscript']],
['misc', ['undo', 'redo']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']],
['table', ['table']],
['insert', ['link', 'picture', 'video', 'hr']],
['view', ['codeview', 'help']]
]
I am aware of that and is very greatful for the help you have provided to me.Pablo wrote: Thu Aug 04, 2022 6:23 pm Note that I cannot provided support on third party script like the editor.
The reason why I replied to your post is to help you in the right directly, but I cannot help you figure out the right configuration. For me that may also take a lot of time and this is not specific for WWB.