MM-49368 : Pasting non plain text clears undo history of Textbox (#23535)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ba4dc1a91c
Коммит
b9cd2a9814
@@ -29,7 +29,7 @@ Object.defineProperty(window, 'location', {
|
||||
},
|
||||
});
|
||||
|
||||
const supportedCommands = ['copy'];
|
||||
const supportedCommands = ['copy', 'insertText'];
|
||||
|
||||
Object.defineProperty(document, 'queryCommandSupported', {
|
||||
value: (cmd) => supportedCommands.includes(cmd),
|
||||
|
||||
Ссылка в новой задаче
Block a user