Moonchild
2f20100059
Issue #3011 - Part 1: Add As{Text|Html}Editor() and AsEditorBase()
...
This adds helper functions to get specific types of content editors (if
possible) through the nsIEditor interface, as opposed to doing manual
casting and the ad hoc `GetHTMLEditor()` function.
Helper functions are spread out over multiple headers due to the
circular dependency issues that would be triggered otherwise.
2026-03-25 07:18:47 +08:00
Moonchild
139e7a7ac6
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-20 21:12:18 +08:00
Moonchild
1392f5f223
Issue #2019 - Do not dispatch keypress event for non-printable keys.
...
This will prevent the keypress DOM event from firing on keypresses
that do not produce printable keys (e.g. editing nav keys) in content.
This should not affect any chrome events that are in use.
Event dispatch can be re-enabled if necessary with the added pref.
2022-10-27 08:57:42 +08:00
Gaming4JC
ec1301a85d
Issue #1621 - Part 3: Use nsIAtom to change attirbute if possible.
...
We can replace old nsIEditor API with nsIAtom version.
Ref: Bug 1324996
2020-08-06 10:23:45 +08:00
Gaming4JC
b6b2792a35
Issue #1621 - Part 2: Implement nsIAtom version of SetAttribute/RemoveAttribute/CloneAttirubte.
...
Add nsIAtom version of the following.
- CloneAttribute
- RemoveAttribute
- RemoveAttributeOrEquivalent
- SetAttribute
- SetAttributeOrEquivalent
Ref: Bug 1324996
2020-08-06 10:23:43 +08:00
Matt A. Tobin
db72493615
Bug 1426494 - Share more code between nsIDocument and ShadowRoot
...
Tag #1375
2020-06-20 06:43:47 +08:00
Matt A. Tobin
a6f048fc42
Bug 1360154 - nsIPlaintextEditor might have to have hasText property for UpdateOverlayTextVisibility
...
* DocumentIsBody should return bool, not nsresult
* Add fast path to check whether valus is emtpy
Tag #1375
2020-04-18 07:06:55 +08:00
Matt A. Tobin
4e14355697
Bug 1372829 - Part 2: mozilla::EditorBase should cache raw pointer of nsISelectionController and nsIDocument with nsWeakPtr
...
Tag #1375
2020-04-18 07:04:22 +08:00
Matt A. Tobin
db34da8e01
Bug 1372829 - Part 1: Make mozilla::PlaceholderTransaction inherit mozilla::SupportsWeakPtr instead of nsSupportsWeakReference
...
Tag #1375
2020-04-18 07:04:14 +08:00
janekptacijarabaci
d57aa4fc94
Fix Build Bustage - with "--enable-debug"
2019-02-16 00:08:38 +08:00
wolfbeast
32326ee192
Issue #12 Part 1: Stop using nsIDOMEvent in UpdateIMEComposition.
2019-02-16 00:05:39 +08:00
roytam1
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00