I'm new to CKEdtior and just installed it on this website I'm working on, version 4.4.4
The editor itself is loaded onto the page, but custom properties, such as language or uiColor, do not work, and with or without properties, I continue to receive an error:
Uncaught TypeError: Cannot read property 'getEditor' of undefined
I know that I am doing something wrong, because it works in samples. If this helps, the code is part of the Smarty template. I tried to use an identifier that has no underscore, and of course, validation in different browsers - the error appears in IE, FF and Chrome.
Corresponding code bits:
<script type="text/javascript" src="ckeditor/ckeditor.js"></script> <script type="text/javascript"> {literal} CKEDITOR.replace( 'show_description', { language: 'he' }); {/literal} </script>
<textarea name="show_description" id="show_description" class="ckeditor"></textarea>
source share