mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

The editor already strips script tags from fields, but was allowing through Javascript in things like onclick handlers. We block this now, as the editor context has access to internal APIs that we don't want to expose to untrusted third-party code.
9 lines
311 B
TypeScript
9 lines
311 B
TypeScript
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
export * from "./content-editable";
|
|
export * from "./location";
|
|
export * from "./move-nodes";
|
|
export * from "./place-caret";
|
|
export * from "./sanitize";
|
|
export * from "./surround";
|