All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Accept
immutable@4
as peer dependency
- Improve normalization of non text inside code lines
- Fix normalization of non lines inside code container.
- Reduce the likelihood of Maximum call stack exceeded, by avoiding
change.withoutNormalization
.
- Small monkey patch to support the GitBook's fork of Slate.
- Fix and improve orphan lines normalization.
- Upgrade to be compatible with Slate > 0.33.x
- Use the new schema definition for improved performance
- Upgrade to be compatible with Slate > 0.32.x
- Normalize multiline texts in code to be split into the appropriate number of code lines.
- Add
getIndent
option to customize the indent unit used. - Fix Ctrl shortcuts on Windows/Linux
- Properly declare
immutable
as a peer dependency (already a peer dependency of slate)
- Upgrade to be compatible with Slate > 0.29.x
- Upgrade to be compatible with Slate > 0.27.x
- Upgrade to be compatable with Slate after the
expose-transform
branch went in. - change all instances of
transform
tochange
- change the namespace of
plugin.transforms
toplugin.changes
- Added
onExit(transform: Transform): ?Transform
option
- Upgrade to slate^0.19.7
- Added
isInCodeBlock
utils - Added
wrapCodeBlock
andwrapCodeBlockByKey
transforms - Added
unwrapCodeBlock
andunwrapCodeBlockByKey
transforms
- Added: Backspace in empty code container will convert it to default
exitBlockType
- Fix case-insensitive slate require
- Export utils.deserializeCode that deserialize a text into a code block
- Breaking change Renamed option
shiftEnterBlockType
toexitBlockType
. - Shift+Enter shortcut is now assigned to Mod+Enter, as before.
- Fixed onPaste
- Removed unused dependency
- Breaking change : Changed the structure of code blocks. A code block is now
made of a container, and a list of lines.
- Removed option
onlyIn
- Add option
containerType
- Add option
lineType
- Removed option
- Added option
shiftEnterBlockType
to determine the default block type when exiting a code block. - Added support for multi-lines Tab and Shift+Tab
- Add option
selectAll
- Update slate peed dependency to prevent NPM warnings when used with
0.15.x
- Move slate to
peerDependencies
- Adapt for Slate 0.15
- Pressing Ctrl+A / Cmd+A in a code block, select only the text in the block
- Add schema to normalize code blocks
- Pressing Tab with a extended selection will indent all lines in the selection