mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00
New editor interface methods for element insert and properties
This commit is contained in:
parent
8e16838662
commit
ed6568ea6f
@ -5,8 +5,7 @@ interface EditorAppCore : BaseAppCore
|
||||
|
||||
readonly attribute wstring contentsAsText;
|
||||
readonly attribute wstring contentsAsHTML;
|
||||
|
||||
readonly attribute Document editorDocument;
|
||||
readonly attribute Document editorDocument;
|
||||
readonly attribute Selection editorSelection;
|
||||
|
||||
void EditorAppCore();
|
||||
@ -35,6 +34,10 @@ interface EditorAppCore : BaseAppCore
|
||||
|
||||
void insertLink();
|
||||
void insertImage();
|
||||
|
||||
Element getSelectedElement(in wstring tagName);
|
||||
Element createElementWithDefaults(in wstring tagName);
|
||||
Element insertElement(in Element element, in boolean deleteSelection);
|
||||
|
||||
void exit();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user