mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 04:20:05 +02:00
Contenteditable wysiwyg (#274)
* Contenteditable wysiwyg * Added comment about pasting multiline text
This commit is contained in:
@@ -18,6 +18,7 @@ export function isInputLike(
|
||||
target: Element | EventTarget | null
|
||||
): target is HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement {
|
||||
return (
|
||||
(target instanceof HTMLElement && target.dataset.type === "wysiwyg") ||
|
||||
target instanceof HTMLInputElement ||
|
||||
target instanceof HTMLTextAreaElement ||
|
||||
target instanceof HTMLSelectElement
|
||||
|
Reference in New Issue
Block a user