Ian Storm Taylor
10eea06a8a
refactor schema violations to be a separate package
2018-01-26 12:28:40 -08:00
Zach Schneider
00165a3155
Convert to babel-preset-env and upgrade build and linting packages. ( #1557 )
2018-01-26 10:55:29 -08:00
Zach Schneider
508cc74e3a
Upgrade to lerna 2.7 to correct peer dependency management ( #1539 )
2018-01-25 13:14:55 -08:00
Conor Cussell
62ffb4681b
Remove parse5 ( #1531 )
...
Fix stripUnwantedAttrs
Remove .only
Remove parse5 from deps
Better imports
Cleanup
More succint removal of attributes
2018-01-13 15:41:48 -08:00
Ian Storm Taylor
85f4a7618c
Merge branch 'master' of github.com:ianstormtaylor/slate
2018-01-04 15:27:06 -08:00
Ian Storm Taylor
5444a300b8
rename kind
to object
for clarity ( #1501 )
...
* rename `kind` to `object` for clarity
* add deprecation warning for direct access
* add deprecation warning for node creation
2018-01-04 15:26:53 -08:00
Ian Storm Taylor
e01a2e2dfb
switch html-serializer tests to use jsdom
2018-01-04 15:20:02 -08:00
Ian Storm Taylor
b76c26e980
update clean script
2017-10-31 19:05:24 -07:00
Ian Storm Taylor
b375660aa9
refactor hotkeys to constants, and add transforms ( #1251 )
...
* refactor hotkeys to constants, and add transforms
* update hotkey helper
2017-10-17 18:18:27 -07:00
Ian Storm Taylor
a341f4d4eb
fix docs pages and plugins example
2017-10-17 09:22:08 -07:00
Ian Storm Taylor
f69d2c4a12
remove keyboard data.*
properties ( #1235 )
...
* update examples and walkthroughs
* deprecate data keyboard properties
* update examples
* add is-hotkey to resources doc
* udpate docs
* update docs
* fix split-block test
2017-10-15 19:23:07 -07:00
Ian Storm Taylor
5c1d43e3f9
fix block void node spacing, closes #1226
2017-10-13 18:00:51 -07:00
Ian Storm Taylor
9d5873ec94
remove react-addons-perf
2017-10-13 15:02:19 -07:00
Renaud Chaput
e960918f87
Upgrade to React 16 ( #1178 )
...
* Allow React 16 in peerDeps and use it for dev
* Make tests pass with React 16
Changes are cosmetic:
- React 16 no longer adds a trailing `;` to `style` attributes
- React 16 outputs `0` and not `0px` for sizes in `style`
2017-10-13 15:01:18 -07:00
Ian Storm Taylor
2a8cf8561e
update contributing docs, update release script
2017-09-13 11:26:27 -07:00
Ian Storm Taylor
ace9f47930
change slate to be a monorepo using lerna ( #1106 )
...
* init lerna, move files into ./packages
* move test files into ./packages
* more moving around
* fill out package.json files
* fixing imports
* more fixing of imports, and horribleness
* convert examples, fix linting errors
* add documentation
* update docs
* get tests passing
* update travis.yml
* update travis.yml
* update travis.yml
* update test script
* update travis.yml
* update scripts
* try simplifying travis.yml
* ocd stuff
* remove slate-core-test-helpers package
* add package readmes
* update reference docs structure
* refactor slate-simulator into its own package
* add docs for new packages
* update docs
* separate benchmarks into packages, and refactor them
2017-09-11 18:11:45 -07:00
Ian Storm Taylor
4d73f19dc7
0.23.1
2017-09-11 17:51:10 -07:00
Ian Storm Taylor
4f59771453
remove problematic unused dep
2017-09-11 17:40:31 -07:00
Ian Storm Taylor
9760f945c8
0.23.0
2017-09-10 15:37:04 -07:00
Ian Storm Taylor
9fca2d3b9b
start removing raw serializer ( #1098 )
...
* start removing raw serializer
* convert first tests to use jsx
* simplify jsx tests for raw serializer
* allow for options in raw serializer tests
* add more preserve option tests
* convert plain serializer tests
* convert html serialize
* start converting html deserialize
* add hyperscript util
* remove slate-sugar copy-pasted
* finish converting html deserialize
* convert plugins tests
* update rendering tests
* convert schemas tests
* convert core plugin tests
* update hyperscript utl
* refactor changes test directory structure
* fix changes before migration
* add migrated changes test files
* remove <x- prefixes from migration
* get addMark at-current-range tests passing
* get delete at-current-range tests passing
* remove old tests
* convert deleteForward and deleteBackward
* convert insertBlock, insertInline, insertFragment, insertText
* convert removeMark, setBlock, setInline, splitBlock, splitInline
* add unstaged tests
* convert toggleMark, unwrapBlock, unwrapInline, wrapBlock, wrapInline, wrapText
* convert call, setData
* convert on-selection tests
* remove old on-selection tests
* convert history tests
* convert insertFragmentByKey, insertNodeByKey, insertTextByKey, mergeNodeByKey, moveNodeByKey
* convert removeNodeByKey, removeTextByKey, setMarkByKey, setNodeByKey
* convert splitDescendantsByKey, splitNodeByKey, unwrapBlockByKey, unwrapInlineByKey, unwrapNodeByKey, wrapBlockByKey
* fix tests
* port missing at-range tests to at-current-range
* remove at-range tests
* fix raw serializer tests
* fix linter
* fix to prefer toJSON as the canonical method name
* fix todos
* remove internal references to Raw
* add deprecation helper to Text.fromJSON
* convert examples to not use Raw, and not rely on terse
* remove focus-blur example, rename large document example
* refactor Raw serialize to deprecate, not remove, terse
* deprecate defaultBlockType, toRaw, cleanup serializers
2017-09-10 14:56:03 -07:00
Ian Storm Taylor
395c0a4f8b
0.22.14
2017-09-08 00:11:17 -07:00
Ian Storm Taylor
3e2e533c21
0.22.13
2017-09-07 18:06:03 -07:00
Ian Storm Taylor
33ddd30486
0.22.12
2017-09-07 16:03:28 -07:00
Ian Storm Taylor
1c0b068023
0.22.11
2017-09-07 14:35:22 -07:00
Ian Storm Taylor
d8004c33b1
0.22.10
2017-09-07 12:12:55 -07:00
Ian Storm Taylor
c3caa2878c
0.22.9
2017-09-07 09:19:30 -07:00
Ian Storm Taylor
3257643ba0
0.22.8
2017-09-06 19:56:14 -07:00
Ian Storm Taylor
4e945e2977
0.22.7
2017-09-06 19:03:38 -07:00
Ian Storm Taylor
ca514eee66
0.22.6
2017-09-06 18:43:00 -07:00
Ian Storm Taylor
c0b4a30ce6
0.22.5
2017-09-06 15:29:17 -07:00
Ian Storm Taylor
a5ce937986
0.22.4
2017-09-06 14:26:31 -07:00
Ian Storm Taylor
8d47f8e8b6
refactor to eliminate ./utils/normalize, fixes #372 ( #1060 )
...
* refactor to eliminate ./utils/normalize, fixes #372
* fix mark default value
2017-09-06 14:24:48 -07:00
Ian Storm Taylor
e77cae7bf7
0.22.3
2017-09-06 11:55:59 -07:00
Ian Storm Taylor
de736dd57d
0.22.2
2017-09-06 09:36:29 -07:00
Ian Storm Taylor
f0325a9afb
0.22.1
2017-09-06 09:03:30 -07:00
Ian Storm Taylor
01a1699a08
0.22.0
2017-09-05 18:31:37 -07:00
Ian Storm Taylor
9b5e7ba306
0.21.6
2017-09-05 17:07:25 -07:00
Ian Storm Taylor
e72266802d
0.21.5
2017-09-05 11:26:00 -07:00
Ian Storm Taylor
7cfbbfc5e4
0.21.4
2017-08-25 12:13:18 -07:00
Ian Storm Taylor
b0d481978b
0.21.3
2017-08-22 17:06:34 -07:00
Kirill Volkovich
577b5c7570
IE11 compat ( #996 )
...
* Convert "for ... of" loops to simple "for(;;)"
* Add .editorconfig
* Convert "for ... of" loops to simple "for(;;)"; Array.find => filter
* Replace Array.prototype.find via local "find" method implementation
* Replase utils/find by lodash/find
* Remove .editorconfig
* Fix lint errors
2017-08-17 11:49:44 -07:00
Ian Storm Taylor
18f41e72ce
0.21.2
2017-08-09 12:16:12 -07:00
Ian Storm Taylor
207f459625
alphabetize package.json scripts
2017-08-09 12:08:35 -07:00
Ian Storm Taylor
85fce2dd46
0.21.1
2017-08-01 09:47:28 -07:00
Zach Schneider
56fa2c4208
Upgrade react-frame-component. ( #962 )
...
Gets rid of warning in dev about directly accessing `React.PropTypes`
2017-08-01 09:06:39 -07:00
Ian Storm Taylor
f376911566
0.21.0
2017-07-20 09:51:24 -07:00
Zach Schneider
4bbf7487ea
Replace cheerio with parse5 ( #934 )
...
* Replace cheerio with parse5
* Convert to dependency injection for HTML parser
* Add options.domParser to HTML serializer
* Fallback to native DOMParser if present and no option provided
* Error if no DOM parser is available (option or native)
* Update tests to pass parse5 as config option
* Update test so it passes.
Cheerio interprets `<p><hr /></p>` as one `p` node with a child `hr`
node, but both parse5 and native DOMParser interpret it as 3 nodes: a
blank `p` node, `hr` node, and second blank `p` node. Update test
expectation to match new API.
* Remove cheerio-esque compatibility conversion.
* Use `application/xml` in native DOMParser
Using `text/html` causes it to wrap the fragment in html, body, etc
* Change error message to single line.
Was inserting an undesired newline char
* Add documentation for new `domParser` option to html serializer
Also boyscout missing documentation for `defaultBlockType` option
* Rename `domParser` option to `parseHtml`
Rename the option to make it clearer what it does, since it accepts a
function and not a `DOMParser` analogue object.
2017-07-20 09:46:02 -07:00
Ian Storm Taylor
cf85c6e3fb
0.20.7
2017-07-20 09:41:28 -07:00
Ian Storm Taylor
a1d4de3b20
0.20.6
2017-07-12 12:59:05 -07:00
Ian Storm Taylor
b5761a1410
0.20.5
2017-07-12 08:56:20 -07:00