* Add third parameter to `toSlateRange` method
The `toSlateRange` method accepts an optional third parameter that is an object with property `exactMatch` and value is a boolean.
Example of this implementation can be found at the `Editable` component of `slate-react`, inside the custom `onDOMSelectionChange`.
* toSlateRange third param is optional
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
No changeset as it's a doc update.
* created editable-voids cypress test
* created markdown-preview cypress test
* created images cypress test
* created huge-document cypress test
* added hovering-toolbar, and forced-layout cypress tests
* added embeds cypress test
No changeset as it's adding tests for the examples.
* Do not remove empty node in merge operation if it is first children in parent(#4228)
* Create merge-nodes-issue
* fix typo in changeset
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
* fix bug: decorate is not called for immediate children of editor
* short-circuit return instead of else in Child
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* oops missing brace
* changeset
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* cypress: mentions example test
* cypress: search highlighting test
* cypress: tables example test
* cypress: check html in richtext
* Update cypress/integration/mentions.ts
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Update cypress/integration/search-highlighting.ts
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* cypress: reset page before each test case
* cypress: Custom command dataCy
* cypress: seperate directory for examples' tests
* cypress: remove comments
* cypress: add placeholder test
* cypress: add plain text test
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* added cypress test for check-list page
* Update cypress/integration/checkLists.ts
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Update cypress/integration/checkLists.ts
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Update cypress/integration/checkLists.ts
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Added beforeEach() call
* moved the checkLists.ts example to the examples folder
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Added cypress test for links and markdownShortcuts
* Update cypress/integration/markdownShortcuts.ts
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Update cypress/integration/markdownShortcuts.ts
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
* Update cypress/integration/links.ts
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>