I am using CKediotr 4.
I have used replace() and got it to work with configuration options . In replace() I used the textarea "id",
Now I want to use replaceAll(). In replaceAll() I used the "class" name (per the documentation). ReplaceAll() works for each textarea with the [class="textEditor"], except all included configuration options ("urColor" in this case) are ignored. (I just used "urColor" in this code sample to keep it short. I have other configuration options I want to include.)
How can I include configuration options with the replaceAll()? What am I doing wrong?
<textarea id="SECTION_1" class="textEditor" >...some data1...</textarea>
<textarea id="SECTION_2" class="textEditor" >...some data2...</textarea>
<textarea id="SECTION_3" class="textEditor" >...some data3...</textarea>
<script type="text/javascript">
CKEDITOR.replaceAll('textEditor', {
uiColor: '#a08eaa'
});
</script>
