A
A
Anton2015-08-02 19:36:49
Kohana
Anton, 2015-08-02 19:36:49

ckeditor, how to make minor tweaks?

Hello, I connected the editor for my media site, the site on the kohana 3.1 framework.
The editor works with a bang, there are no problems, how to enable automatic spell checking, it is disabled by standard.
There is also a nuance, if I copy text from the site and then paste it, then it is inserted with styles, how to make sure that styles are not taken into account and not inserted, only spaces are taken into account and that's it.
I usually do this, copy the text, paste it into the text editor so that the text is clean and without styles, then I copy and paste from the text editor into the ckeditor editor and the text is clean without styles, but this method is not convenient.
Also, if you copy text that has styles from Word or Excel, then it pastes it with styles into ckeditor, is it really possible to turn it off? I would like the text to be inserted only with spaces, and there I myself edit where to make it bold, where to underline, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rikcon, 2015-08-02
Websaytovsky @ws17

docs.cksource.com/ckeditor_api/symbols/CKEDITOR.co...
config.forcePasteAsPlainText = true;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question