I need Tinymce to behave.
Permalink
Stop adding custom inline styles please!
I only want my users to be able to choose the style of the text such as heading or paragraph, address, etc.
I don't want to see any inline settings or anything other than what I've given the users options for. I've taken out the options of fonts and sizes but if they copy and paste something into there it will change the font for them.
I want the styling left to my css. Any ideas how I stop that behaviour?
I only want my users to be able to choose the style of the text such as heading or paragraph, address, etc.
I don't want to see any inline settings or anything other than what I've given the users options for. I've taken out the options of fonts and sizes but if they copy and paste something into there it will change the font for them.
I want the styling left to my css. Any ideas how I stop that behaviour?
define classes in your typography, these appear then under styles in tinyMCE :)
i use to have alot of problems with TinyMCE.
best solution is to choose the 'advanced' text editor from 'sitewide settings'. When you choose this go back to the text editor and you will see some extra buttons. I have attached an image for you to see.
If you use the paste as plain text it will remove the formating and also paste as word will remove word formatting. Then it should format from your style sheet.
this should solve your problem
best solution is to choose the 'advanced' text editor from 'sitewide settings'. When you choose this go back to the text editor and you will see some extra buttons. I have attached an image for you to see.
If you use the paste as plain text it will remove the formating and also paste as word will remove word formatting. Then it should format from your style sheet.
this should solve your problem
Solved my problem? Well yes but it's not the ideal solution I was after. That does work though.
Do you think I'd be able to tell TinyMCE what it's it's allowed to change? For example; Yes you can float left, yes you can add strong tags, NO you can't set font tags or line height tags.
This is probably a question I'll have to take up with the tinymce group.
I've no idea if concrete will allow me to have this flexibility with a block?
Do you think I'd be able to tell TinyMCE what it's it's allowed to change? For example; Yes you can float left, yes you can add strong tags, NO you can't set font tags or line height tags.
This is probably a question I'll have to take up with the tinymce group.
I've no idea if concrete will allow me to have this flexibility with a block?
yes, it will.
use the custom option from the sidewide settings and remove stuff you don't want to appear in tinyMCE.
use the custom option from the sidewide settings and remove stuff you don't want to appear in tinyMCE.
Ah yes I've got that, but it adds it in anyway if the user pastes something with formatting in. This is a feature I want but I dont want it to apply any font formatting like family and size.
Things like bold and bullet points should be kept.
I think I'll have to edit the Javascript of tiny if it can be done at all.
Things like bold and bullet points should be kept.
I think I'll have to edit the Javascript of tiny if it can be done at all.
Adding these to the "custom" settings might help:
forced_root_block : false,
force_br_newlines : true,
force_p_newlines : false
This will at least turn off the automatic paragraph tags (theoretically, anyway -- TinyMCE is notoriously difficult to get working the way you want it to -- see this thread over on their forum:http://tinymce.moxiecode.com/punbb/viewtopic.php?id=3878... ).
forced_root_block : false,
force_br_newlines : true,
force_p_newlines : false
This will at least turn off the automatic paragraph tags (theoretically, anyway -- TinyMCE is notoriously difficult to get working the way you want it to -- see this thread over on their forum:http://tinymce.moxiecode.com/punbb/viewtopic.php?id=3878... ).