You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago | |
gapcursor.ts | 3 years ago | |
index.ts | 3 years ago |
README.md
This is a plugin that adds a type of selection for focusing places that don't allow regular selection (such as positions that have a leaf block node, table, or the end of the document both before and after them).
You'll probably want to load style/gapcursor.css
, which contains
basic styling for the simulated cursor (as a short, blinking
horizontal stripe).
By default, gap cursor are only allowed in places where the default
content node (in the schema content constraints) is a textblock node.
You can customize this by adding an allowGapCursor
property to your
node specs—if it's true, gap cursor are allowed everywhere in that
node, if it's false
they are never allowed.
@gapCursor
@GapCursor