I simply need a tiny ReactJS text editor, where user has two screens:
1) Enter/Edit text into contenteditable DIV.
2) Text entered is shown. User can select a category from a list and select any word, letter or part of the text (formatting it with the category - adding ie. id="Category1" to the selected). If user clicks a formatted area, it shows a dialogue screen with option "Remove formatting".
However, user must be able to go back [EDIT SCREEN] and edit the text again after parts of it has been formatted [ADD CATEGORIES SCREEN], and the text formatting must stay intact when editing it.