How to use the @ephox/sand.HTMLElement.isPrototypeOf function in @ephox/sand

To help you get started, we’ve selected a few @ephox/sand examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tinymce / tinymce / modules / tinymce / src / plugins / lists / main / ts / core / Selection.ts View on Github external
const isList = (editor: Editor): boolean => {
  const list = getParentList(editor);
  return HTMLElement.isPrototypeOf(list);
};

@ephox/sand

Platform detection library

MIT
Latest version published 11 months ago

Package Health Score

86 / 100
Full package analysis