Hi, I was looking for a way to implement cmd and alt delete. This improvement thread says the feature is implemented already.
But running the http://slatejs.org example, the cmd/alt delete pushes the cursor back as expected, but it only deletes the first character. Diving more into the core plugin, word/char offset count is returning the right number, but it looks like state.transform().deleteBackward(n).apply() is not behaving properly. Any thought?
Hi, I was looking for a way to implement cmd and alt delete. This improvement thread says the feature is implemented already.
But running the http://slatejs.org example, the cmd/alt delete pushes the cursor back as expected, but it only deletes the first character. Diving more into the core plugin, word/char offset count is returning the right number, but it looks like state.transform().deleteBackward(n).apply() is not behaving properly. Any thought?