Ik wil graag in TinyMCE de pt veranderen in px.
Nou heb ik wel de code gevonden, maar waar moet je dat plaatsen?
tinymce.init({
fontsize_formats: "10px,11px,12px,13px,14px,15px,16px,17px,18px,20px,22px"
});
't Zal wel weer een heel domme vraag zijn, maar ik kan het niet vinden.
[Opgelost] tinymce.init, waar staat dat?
Moderator: velden
[Opgelost] tinymce.init, waar staat dat?
Last edited by Adheera on Fri Feb 07, 2014 7:50 pm, edited 1 time in total.
Re: tinymce.init, waar staat dat?
You can add extra TinyMCE configurations to the settings under the Advanced tab:
Extra configuration:
Extra configuration:
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: tinymce.init, waar staat dat?
I tried to put the tinymce.ini there, the wysiwyg diappeared.JohnnyB wrote:You can add extra TinyMCE configurations to the settings under the Advanced tab:
Extra configuration:
Just the line below did not work either.
fontsize_formats: "10px,11px,12px,13px,14px,15px,16px,17px,18px,20px,22px"
How can i change the fontsize in px in stead of pt?
Re: tinymce.init, waar staat dat?
Sorry, I didn't read your code correctly. Add this to the Extra Configuration field:
Keep adding up to your desired font size. 26px=26px
If you have more than one rule in the Extra Configuration, they must be separated by a comma. The settings say, "one statement per line" but that is not correct. For example, this will work with a comma between each statement:
Code: Select all
theme_advanced_font_sizes : "8px=8px, 10px=10px, 11px=11px, 12px=12px, 14px=14px"
If you have more than one rule in the Extra Configuration, they must be separated by a comma. The settings say, "one statement per line" but that is not correct. For example, this will work with a comma between each statement:
Code: Select all
extended_valid_elements : "iframe[marginheight|id|frameborder|scrolling|align|marginwidth|name|id|src|height|width|]",
theme_advanced_font_sizes : "8px=8px, 10px=10px, 11px=11px, 12px=12px, 14px=14px"
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Re: tinymce.init, waar staat dat?
Thanks a lot, JohnnyB.
Days of trying to find a solution.
Now i can celebrate the weekend and ejoy the olympics
Thanks a lot.
Days of trying to find a solution.
Now i can celebrate the weekend and ejoy the olympics

Thanks a lot.
Re: tinymce.init, waar staat dat?
I agree!!Adheera wrote:Now i can celebrate the weekend and ejoy the olympics

"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--