The following piece of code is used to increase bullet number size along with content.
Like follows, the font size of bullet number increased along with content. Please the attachment Output1
I tried to apply the font size for overall content, but the font sized is applied only for the content and not for bullet/number.Refer the attachment Output2
Suggest how to fix this issue?
function
OnClientCommandExecuting(editor, args) {
var
commandName = args.get_commandName();
if
(commandName ==
"RealFontSize"
|| commandName ==
"FontSize"
) {
var
selElem = editor.getSelectedElement();
//get the selected element
var
parentElem = selElem.parentNode;
if
(selElem.tagName ==
"LI"
|| selElem.tagName ==
"UL"
) {
selElem.style.fontSize = _fontSizesPx[parseInt(args.get_value() - 1)];
args.set_cancel(
true
);
}
}
}
Like follows, the font size of bullet number increased along with content. Please the attachment Output1
- One
- Two
- Third
- Four
I tried to apply the font size for overall content, but the font sized is applied only for the content and not for bullet/number.Refer the attachment Output2
Suggest how to fix this issue?