Simple Google Docs Copycat.
- Write and Edit the document.
- Style the selected text (fontSize, fontWeight, fontStyle).
- Highlight button when clicked text is styled.
- Unstyle clicked text with button.
- Insert tab when tab key pressed.
Editing text with "contenteditable" attribute.
Get selection and its range with Selection & Range API.
Generate styled node and replace the selection.
- model
- Editor
- Manage editor actions.
- Range
- Selection & Range wrapper.
- Document (not implemented)
- Manage document history.
- Editor
- EditorView
- Manage UI and User Input Events.
- Selected text is not unstyled when click the button.
- 2 Depth styling is not supported.
- Applying multiple styles together is not supported.
- Fix bugs.
- Support more styles (lineHeight, fontFamily).
- Support Image embeding.
- Implement Document model for save, load, undo, redo the document using LocalStorage.