nsIEditingSession should have a method to return HTMLEditor instead of nsIEditor

RESOLVED FIXED in Firefox 57

Status

()

enhancement
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: masayuki, Assigned: masayuki)

Tracking

Trunk
mozilla57
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox57 fixed)

Details

Attachments

(4 attachments)

nsIEditingSession should have a method to return HTMLEditor instead of nsIEditor. If there is, users of editing session can use concrete editor classes easier.
Comment on attachment 8896535 [details]
Bug 1388001 - part2: nsEditingSession should treat editor as HTMLEditor

https://reviewboard.mozilla.org/r/167788/#review173284
Attachment #8896535 - Flags: review?(m_kato) → review+
Comment on attachment 8896536 [details]
Bug 1388001 - part3: Remove nsIEditor argument of nsIHTMLDocument::TearingDownEditor() since it's unused

https://reviewboard.mozilla.org/r/167790/#review173348
Attachment #8896536 - Flags: review?(bugs) → review+
Comment on attachment 8896534 [details]
Bug 1388001 - part1: Create nsIEditingSession::GetHTMLEditorForWindow()

https://reviewboard.mozilla.org/r/167786/#review173368
Attachment #8896534 - Flags: review?(bugs) → review+
Comment on attachment 8896537 [details]
Bug 1388001 - part4: nsHTMLDocument should treat editor as HTMLEditor

https://reviewboard.mozilla.org/r/167800/#review173370
Attachment #8896537 - Flags: review?(bugs) → review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/8e0420e233f4
part1: Create nsIEditingSession::GetHTMLEditorForWindow() r=smaug
https://hg.mozilla.org/integration/autoland/rev/6280fc4d7468
part2: nsEditingSession should treat editor as HTMLEditor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/b34a665b7879
part3: Remove nsIEditor argument of nsIHTMLDocument::TearingDownEditor() since it's unused r=smaug
https://hg.mozilla.org/integration/autoland/rev/5beaa5c88e20
part4: nsHTMLDocument should treat editor as HTMLEditor r=smaug
You need to log in before you can comment on or make changes to this bug.