S
S
siroper2021-02-05 20:58:51
JavaScript
siroper, 2021-02-05 20:58:51

Is it possible to replace classes with inline styles in ckeditor5, the color was in Hex instead of hsl?

Hello. I connected ckeditor to the project, but the problem is that I need to save data from the editor in the format I need for further manipulations. Specifically:

The editor saves colors as hsl <span style="color:hsl(0, 75%, 60%);">тест</span>, how can I set it up to save it in hex <span style="color:#000000;">тест</span>? Here I didn’t find / didn’t understand information on this matter https://ckeditor.com/docs/ckeditor4/latest/api/CKE...

Ckfinder saves photos without an absolute path, for example, <img src="/images/2021-02-05_002228.jpg">you need

<img src="https://site.ru/images/2021-02-05_002228.jpg">
- how to set it up in this case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
siroper, 2021-02-05
@siroper

I figured it out with Ckfinder, the only thing left is the colors in ckeditor

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question