September 18, 2020 at 5:43pm
As for mentions I thought they were closer to the regular link attribute but with an autocomplete popup dialog. Any particular reason you thought of implementing them as inline embeds?
The difference would be, for instance, if it was an embed then it can only be modified or deleted as a whole.
E.g. pressing "Delete" key when the caret is at the end of a embedded mention would delete the entire mention. If it was just an inline style then "Delete" would only remove the last character.