summaryrefslogtreecommitdiff
path: root/editor/example.html
AgeCommit message (Collapse)Author
2021-09-05editor: convert the example to TypeScript and loaded as moduleShulhan
2021-08-30editor: fix example converting the content to base64Shulhan
2021-08-29editor: simplify the Open methodShulhan
Previously, the Open method call the predefined options OpenFile, which in turn may send request to remote server. This changes simplify it by accepting node interface that has been filled with content and metadata.
2021-08-28all: refactoring to follow the coding style in READMEShulhan
* Use snake_case for field, variable, HTML ID, and CSS class names. * Use camelCase for class, interface, type, function, or method names. * An exported type or class. interface, type, method, or function name MUST start with an upper-case letter. * An exported class, type, interface, or function MUST be prefixed with "Wui".
2021-08-27editor: add handler to save the contentShulhan
When user press CTRL+S on the editor, it will trigger the OnSave handler. While at it, * auto scroll when pressing arrow up or down * auto scroll to bottom when pressing Enter at the end of file * fix tab key not inserting tab characters
2021-07-27editor: fix enter and support for backspaceShulhan
Enter on middle of line now will cut the text and move the rest text after caret to the next line. Pressing backspace on the beginning of line will merge the line with previous one.
2021-07-26editor: init the style sheet using javascript and add support for tabShulhan
2021-07-26editor: add support to move arrow up and down between textShulhan
2021-07-26all: implement editorShulhan