Moonchild
1e7f4c8474
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-20 13:26:18 +01:00
Moonchild
0603b037ef
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-18 16:15:51 +01:00
Moonchild
74b3ce90d7
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-17 12:28:26 +00:00
Gaming4JC
1115c63bf7
Issue #1621 - Part 3: Use nsIAtom to change attirbute if possible.
...
We can replace old nsIEditor API with nsIAtom version.
Ref: Bug 1324996
2020-07-31 15:59:58 -04:00
Gaming4JC
1c0c7cf583
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-07-31 15:59:58 -04:00
Matt A. Tobin
43725c7264
Bug 1426494 - Share more code between nsIDocument and ShadowRoot
...
Tag #1375
2020-06-13 08:21:48 -04:00
Matt A. Tobin
6d76ab9b6c
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-17 07:43:03 -04:00
Matt A. Tobin
32e8155127
Bug 1372829 - Part 2: mozilla::EditorBase should cache raw pointer of nsISelectionController and nsIDocument with nsWeakPtr
...
Tag #1375
2020-04-17 05:47:12 -04:00
Matt A. Tobin
ea3a2ce279
Bug 1372829 - Part 1: Make mozilla::PlaceholderTransaction inherit mozilla::SupportsWeakPtr instead of nsSupportsWeakReference
...
Tag #1375
2020-04-17 05:45:53 -04:00
janekptacijarabaci
71a1c47759
Fix Build Bustage - with "--enable-debug"
2018-07-12 12:34:59 +02:00
wolfbeast
783f57d74b
Issue #12 Part 1: Stop using nsIDOMEvent in UpdateIMEComposition.
2018-06-26 13:26:07 +02:00
Matt A. Tobin
5f8de423f1
Add m-esr52 at 52.6.0
2018-02-02 04:16:08 -05:00