@instructure/canvas-rce
Version:
A component wrapping Canvas's usage of Tinymce
14 lines (13 loc) • 553 B
TypeScript
export declare const attributeNamesToUrlRelativize: string[];
export declare const attributeNamesToRemove: string[];
/**
* Transforms a block of HTML for use within the Rich Content Editor, normalizing content to remove extraneous
* things added by the server.
*
* @param inputHtml
* @param options
*/
export declare function transformRceContentForEditing(inputHtml: string | null | undefined, options: TransformRceContentForEditingOptions): string | null | undefined;
export interface TransformRceContentForEditingOptions {
origin: string;
}