4
I’m using Ckeditor and would like to personalize my editor.
When opened, by default it would already come with Arial font size 20 for example.
In my research (amid several others, and others, and others, etc....), found ways to change the configuration to ALL the editors (or create a Gambi in the configuration file for a specific), but I would like to make such change only to a specific editor in a beautiful way with Jquery.
I got the following:
$("#MeuEditor").ckeditor({
height: 350,
// Isso não Funciona:
font_defaultLabel: 'Arial',
fontSize_defaultLabel : '20'
});
Nobody knows how to fix it?
I searched and didn’t find it either, but I did it another way - I created a config.js file and configured the font and font-size pointing to a textarea, and created another config2.js containing the default settings. It worked. Note: it is not common to do this, test and see.
– Wilson Rosa Gomes
Dude, I could never style just one textarea. Whenever I changed one, I had to change the other one too (if there were two textareas on the page). For example, if I wanted a textarea with a number of formatting buttons and another texarea with another amount, I could not.
– Gato de Schrödinger