You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(block-events): caret losing after backspace after nested list (#2723)
* feat: Fix caret loss after Backspace at the start of block when previous block is not convertible
* fix create shadow caret
* fix: remove unnecessary blank line in blockEvents.ts
* fix: pass event object to slashPressed method in blockEvents.ts
* fix eslint
@@ -425,11 +426,11 @@ describe('Backspace keydown', function () {
425
426
.should('not.have.class','ce-toolbar--opened');
426
427
});
427
428
428
-
it('should simply set Caret to the end of the previous Block if Caret at the start of the Block but Blocks are not mergeable. Also, should close the Toolbox.',function(){
429
+
it('should simply set Caret to the end of the previous Block if Caret at the start of the Block but Blocks are not mergeable (target Bock is lack of merge() and conversionConfig). Also, should close the Toolbox.',function(){
429
430
/**
430
-
* Mock of tool without merge method
431
+
* Mock of tool without merge() method
431
432
*/
432
-
classExampleOfUnmergeableTool{
433
+
classUnmergeableToolWithoutConversionConfig{
433
434
/**
434
435
* Render method mock
435
436
*/
@@ -452,7 +453,90 @@ describe('Backspace keydown', function () {
it('should simply set Caret to the end of the previous Block if Caret at the start of the Block but Blocks are not mergeable (target Bock is lack of merge() but has the conversionConfig). Also, should close the Toolbox.',function(){
0 commit comments