Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1011,22 +1011,6 @@ QUnit.module('delete key', moduleConfig, () => {

assert.equal($input.val(), '_- x', 'letter deleted');
});

QUnit.skip('should skip consecutive stub chars', function(assert) {
const $textEditor = $('#texteditor').dxTextEditor({
mask: '0---0'
});

const $input = $textEditor.find(`.${TEXTEDITOR_INPUT_CLASS}`);
const keyboard = keyboardMock($input, true);
caretWorkaround($input);

keyboard
.caret(1)
.press('del');

assert.deepEqual(keyboard.caret(), { start: 4, end: 4 }, 'caret is set after a stub');
});
});

QUnit.module('selection', moduleConfig, () => {
Expand Down Expand Up @@ -2060,23 +2044,6 @@ QUnit.module('paste', moduleConfig, () => {

assert.equal($input.val(), '00', '\'v\' char from ctrl+V combination was ignored');
});

QUnit.skip('digit stub should not be duplicated after paste if caret is placed before the stub', function(assert) {
const $textEditor = $('#texteditor').dxTextEditor({
mask: '10000'
});
const textEditor = $textEditor.dxTextEditor('instance');

const $input = $textEditor.find(`.${TEXTEDITOR_INPUT_CLASS}`);
const keyboard = keyboardMock($input, true);
caretWorkaround($input);

keyboard
.caret(0)
.paste('6');

assert.strictEqual(textEditor.option('text'), '16___', 'only pasted digit is added');
});
});

QUnit.module('drag text', moduleConfig, () => {
Expand Down
Loading