In the Joomla editor, there is an advanced area where you can add additional configuration options. I want to restrict what users can enter and they seem to able to paste word code including font styles and margin styles, etc. I am not sure why the can set the font style because I have no font controls enabled, but in any case.... I'd like to remove the ability to paste Word with formatting at all. I don't see how I can do this, though because:
var editor = CKEDITOR.replace( textarea_id, { allowedContent: 'p' } );
This code requires that I know the textarea_id beforehand, which I don't. Does this mean that it is not possible to enable allowedContent when using this as a text editor in Joomla?