Hi,
Can someone please help me. I need to dynamically change the 'default' value of a text element for a plugin I'm building based on the currently selected text. Currently I am using:
type : 'text',
id : 'person_name',
'default' :editor.getSelection().getNative().toString(),
This works for filling in the text value with the selected text but does not change dynamically when new text is selected.
Thanks.