1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-24 17:23:07 +01:00
slate/packages
Stan Gurenkov 65796c8ba0 insertTextByPath should replace marks on the inserted text with the once that are provided (#2936)
It were trying to add those marks that are passed to the function to the existing once,
but it should replace them instead.

Example error behavior was:
* put cursor at the end of the marked text
* toggle marks
* enter text

expected:
text is being added without toggled marks

actual:
text is added with those marks applied
2019-08-19 10:23:46 -06:00
..
2019-08-19 11:35:20 -04:00
2019-01-30 16:19:34 -08:00
2019-03-06 14:30:06 -08:00
2018-08-01 12:07:02 -07:00
2019-03-06 14:30:06 -08:00
2019-08-19 11:35:20 -04:00
2019-08-19 11:35:20 -04:00
2019-08-19 11:35:20 -04:00
2019-08-19 11:35:20 -04:00
2019-08-19 11:35:20 -04:00