ckeditor5 mentions plugin change mention text

984 views Asked by At

i'm using ckeditor5 on react, and i want to achieve this: i have list with keys and values - for example:

[{id: "@key1", value: "value1}, {id: "@key2", value: "value2"}]

and i want that when the editor is focused - the text shown will be @keyX, but when the editor is blurred - the text shown will be valueX.

i've tried multiple way with the helps of the docs here, but no good.

any idea? any help (even saying - "it is not possible") will be mostly welcome!!!

1

There are 1 answers

0
Latos On