MCPcopy
hub / github.com/tinymce/tinymce / getContent

Method getContent

modules/tinymce/src/core/main/ts/api/Editor.ts:883–885  ·  view source on GitHub ↗
(args?: Partial<EditorContent.GetContentArgs>)

Source from the content-addressed store, hash-verified

881 public getContent(args: { format: 'tree' } & Partial<EditorContent.GetContentArgs>): AstNode;
882 public getContent(args?: Partial<EditorContent.GetContentArgs>): string;
883 public getContent(args?: Partial<EditorContent.GetContentArgs>): EditorContent.Content {
884 return EditorContent.getContent(this, args);
885 }
886
887 /**
888 * Inserts content at caret position.

Callers 15

ForceBlocksTest.tsFile · 0.80
assertResultFunction · 0.80
assertResultRetainsUrlFunction · 0.80
uploadDoneFunction · 0.80
getContentFunction · 0.80
getContentFunction · 0.80
EditorTest.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected