<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Default styles in CKEditor</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 05 Apr 2026 23:04:43 -0000</pubDate>

		<item>
			<title>Macik</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums?m=posts&amp;q=7723&amp;d=1#39454">#39454</a> <strong>Hodges: </strong>
<p><span style="line-height:1.6em;">According to this page: </span><span style="line-height:1.6em;"><a href="http://ckeditor.com/demo#div" rel="nofollow">http://ckeditor.com/demo#div</a> the editor by default uses an iframe. By changing this to a div container the styles used are inherited from the page.</span></p>

<p>Does anyone know how to apply this change?</p>
</blockquote>

<p>If the main aim is to use page common styles — you can done it with iframe right from the box (since <strong style="color:rgb(82,93,105);font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;line-height:20px;background-color:rgb(249,249,249);">0.9.15</strong>).</p>

<p>Here are the manual:</p>

<p>1. add to the and of your theme RC file (`theme.rc.php`):</p>

<pre class="brush:php;">
global $ckeditor_css_to_load;
$ckeditor_css_to_load = array(
    $cfg['themes_dir'].'/'.$usr['theme'].'/css/bootstrap.css',
    $cfg['themes_dir'].'/'.$usr['theme'].'/css/bootstrap-theme.css'
);</pre>

<p>edit `css/bootstrap.*` path to point to resources needed for loading in iframe.</p>

<p>It's more secure as you can use special styles for you CKeditor.</p>

<p> </p>

<p> </p>
]]></description>
			<pubDate>Di, 22 Apr 2014 12:21:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7723&d=0#post39459]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>I think this should help:</p>

<p><a href="http://stackoverflow.com/questions/15031840/ckeditor-div-based-editor" rel="nofollow">http://stackoverflow.com/questions/15031840/ckeditor-div-based-editor</a></p>
]]></description>
			<pubDate>Thu, 17 Apr 2014 15:50:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7723&d=0#post39456]]></link>
		</item>
		<item>
			<title>Hodges</title>
			<description><![CDATA[<p><span style="line-height:1.6em;">According to this page: </span><span style="line-height:1.6em;"><a href="http://ckeditor.com/demo#div" rel="nofollow">http://ckeditor.com/demo#div</a> the editor by default uses an iframe. By changing this to a div container the styles used are inherited from the page.</span></p>

<p>Does anyone know how to apply this change?</p>

<p><s>More generally, is it possible to further customise our ckeditors to include plugins/addons such as the <a href="http://ckeditor.com/addon/eqneditor" rel="nofollow">equation editor</a>?</s></p>

<p>I've figured out my second question. Simply:</p>

<ol><li>Add the plugin to the plugins/ckeditor/lib/plugins folder.</li>
	<li>Modify the line: "config.extraPlugins = '<strong>eqneditor</strong>,more,oembed,syntaxhighlight';" in plugins/ckeditor/lib/config.js.</li>
	<li>Add the button <strong>'EqnEditor' </strong>somewhere in the full toolbar.</li>
</ol>]]></description>
			<pubDate>Thu, 17 Apr 2014 12:33:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7723&d=0#post39454]]></link>
		</item>
	</channel>
</rss>