Text Tool
HOW TO USE:
There are two modes: 'new' and 'edit'
In 'new' mode, drag on the board to insert new text, this will also change the mode to edit mode.
In 'edit' mode, type to enter text. The following keyboard shortcuts/functions are supported:
Arrow keys: Move the cursor.
Backspace
Shift + Enter: Add a new line.
Enter: Confirm editing. NOTE: The text will NOT be editable after this step. This will be changed in future version.
Cursor Styling:
The cursor is currently just a '|' character in an SVG .
To style the cursor (blinking, color), add CSS to the `.svg-real-db-text-cursor' class.
See: /example/index.css in the repo.
Text Tool HOW TO USE: There are two modes: 'new' and 'edit' In 'new' mode, drag on the board to insert new text, this will also change the mode to edit mode. In 'edit' mode, type to enter text. The following keyboard shortcuts/functions are supported:
Cursor Styling: The cursor is currently just a '|' character in an SVG.
To style the cursor (blinking, color), add CSS to the `.svg-real-db-text-cursor' class.
See: /example/index.css in the repo.