All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed issue that prevented from using backspace at edges of inlines inside a cell
- Now using GitBook's fork of Slate
- Greatly improved copy/paste behavior by adding onCopy and onPaste handlers.
- Remove
key
parameter of getPosition, and create a functiongetPositionByKey
- Add byKey variants to remove utils. removeRowByKey, removeColumnByKey, removeTableByKey
- Improve behavior of Backspace when deleting whole cells #79
- Fix some case where pressing Backspace would unexpectedly clear the whole cell
- Add keyboard interactions to handle multiple blocks in cells:
- Split block when pressing Shift+Enter
- Split block when pressing Enter inside the cell
- Export TablePosition type
- Add key option to
getPosition
- Allow blocks in cells
- Align for columns have been removed
- Improve package size by publishing only the
dist
folder
- Fix normalization of multiple blocks in cells
- Fixed build
BREAKING
- Upgrade to be compatible with Slate 0.32.x
- Fixed missing peerDependencies for
eslint-config-gitbook
- Fix peer depedency range for slate to include 0.30 and 0.31
- Add
isSelectionOutOfTable
- Fix keys detection
- Fix selection errors when deleting table
- Improve
isSelectionInTable
to check for both end of the selection to be in the same table.
BREAKING
- Upgrade to be compatible with Slate 0.30.x
BREAKING
- Upgrade to be compatible with Slate 0.27.x
BREAKING
- Upgrade to be compatible with Slate after the
expose-transform
branch went in. - Change all instances of
transform
tochange
- Change the namespace of
plugin.transforms
toplugin.changes
- New
utils.getPosition(state) => TablePosition
to know easily the current position within a table (#39) - New option
exitBlockType
. When provided,Mod+Enter
will exit the current table into a new block of this type. - Fixed cursor issues when inserting rows using Tab (#26)
0.10.1 - 2017-07-13
- Fix rule to prevent extra blocks in rows
0.10.0 - 2017-07-13
- Add rule to prevent nested blocks in cells
0.9.0 - 2017-04-21
- Update slate to
^0.19.x
0.8.4 - 2016-11-30
- Update slate peer dependency to prevent NPM warnings when used with
0.15.x
0.8.3 - 2016-11-09
- Enforce align to be Immutable.List
- Undo is now fixed, using GitbookIO:slate
0.8.2 - 2016-11-03
- Move slate to
peerDependencies
0.8.1 - 2016-11-01
- Add schema to normalize
align
in table insertColumn
andremoveColumn
update correctly the alignment
0.8.0 - 2016-10-27
- Expose
setColumnAlign
transform - Expose
ALIGN.{LEFT,RIGHT,CENTER}
constants - Rules to ensure cells or rows are always within a table. Fix #13
0.7.0 - 2016-10-27
- Adapt for upcoming Slate release
- Improve stability
0.6.0 - 2016-09-23
- Expose
moveSelectionBy
transform removeColumn
clears the column instead, if it is the last remaining columnremoveRow
clears the row instead, if it is the last remaining row- Undo of
insertColumn
when cursor is in inserted column
0.5.1 - 2016-09-15
insertTable
does not grab text from current block anymore, and simply inserts an empty table.- Up/Down arrows behavior inside tables
0.5.0 - 2016-09-15
TablePosition.is{First|Last}{Row|Column|Cell}
methods- BREAKING Now uses
slate^0.14.x
- Split transform
moveSelection
intomoveSelection
andmoveSelectionBy
0.4.0 - 2016-09-06
- Schema normalization rules