Open basementmedia2 opened 4 years ago
+1
just now ,
I looked at the source code and found a solution :insert base config
style: { font: "18px Arial", },
@basementmedia2 did @TJX666666 solution work for you? It's not working for me and is there any list present for the style properties for jodit?
exemplifying how to use it to configure, including in the list of jodit settings this line: style: { font: "18px Arial" }
,
const config = {
style: { font: "18px Arial" },
readonly: false,
buttons: [
"bold",
"italic",
"underline",
"strikethrough",
"eraser",
"ul",
"ol",
"copyformat",
"paragraph",
"superscript",
"subscript",
"cut",
"copy",
"paste",
"undo",
"redo",
"table",
"lineHeight",
],
toolbarAdaptive: false,
};
Hi,
another little question: Is it possible to set the font-size and the font-family in the wysiwyg-area?
I tried with
but nothing happens.
Best wishes Daniel