S
S
Sergey Pugovkin2015-05-27 14:48:41
JavaScript
Sergey Pugovkin, 2015-05-27 14:48:41

CKEditor and multiple skins on one page: only the last one works. Why?

I specify the following code within one page:

CKEDITOR.replace('entry-short_text',{
    skin: 'Moono_blue,/ckeditor/Moono_blue/',
});
CKEDITOR.replace('entry-full_text',{
    skin: 'office2013,/ckeditor/office2013/',
});

As a result, all elements are assigned one skin, which is specified last (i.e. office2013). Why? And is it possible to somehow influence this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-05-27
@Driver86

CSS cannot be isolated within a single page, of course only the last skin is applied.
The only way is to run each instance in a separate iframe.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question