A caption of a link is not saved

Verze:

20. 11. 2023

Zodpovědná osoba:

Dominik Šlechta

We use the TinyMCE editor in the admin for Content and Perex. Occasionally it happens that saving the caption of a link when inserting doesn't work. Fix:
In the tinymce.latte file, insert the following into extented_valid_elements (for both the content editor and the perex editor):

extended_valid_elements:'span[class|style],a[onclick|href|title|class|target|rel]',