We may be trying to insert a block into a paragraph. fixUpInsertion
handles this, but not if use a replace transactions.
Bug: T136279
Change-Id: I1401da52676e79f38ef835a32d2c76004b75fb4e
Define $editableContent on target construction, and mark
all non-ancestor nodes between that at the target container
as uneditable (50% opacity, no pointer events).
Bug: T58289
Change-Id: I7fe51104bd5aa1bd53ffc604e5f02752c7553578
The editor can also be used on wikis that are not Wikipedia.
By the way, the logo was incorrectly flipped for the RTL version. Heh.
Bug: T135811
Change-Id: I5635da13e8335658079620a46ac265c4ed6bd167
New changes:
f50f6a9 Remove directy dependency on stylelint
c45cfeb Add <BDI> support
4e5d312 Update store hashes when modifying items in store during #sanitize
eadc310 build: Bump grunt-stylelint to v0.3.0
a55520f Fix watch path for css
f016c4d Re-clone linear data on each paste
Change-Id: I2a1340261ce1f457f28c34fb1aaec7d4966783ea
New changes:
c54a48a build: Fix watch list (csslint -> stylelint)
58ba3d9 Add stylelint rules for @-rules
3f8c75a Stylelint: Add rule for unsupported browser features
3b96ff3 Fix minimum Opera version (15 -> 12)
9a1110b Stylelint: No ID selectors
9800bb8 build: Remove remaining references to csslint
b6ab14a stylelint: Re-enable features by names
6cc1f3c Move stylelint to npm
1d15fa0 build: Bump stylelint version to v0.2.0
ccc1724 stylelint: Use the preset rather than extending
Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea
For now just use the rules file in lib/ve, but eventually
this will be a preset.
Change-Id: I7fd79d3e1dce37aef066d416cd969e5fff1e962f
Depends-On: I17e0d23ddfedf64985495ab35d113ea08c03b1df
New changes:
df692b6 SurfaceFragment: Use #getCoveringRange for linear actions
2b1a8f0 SurfaceFragment: Remove clone flag in getSelection
38b9574 build: Use stylelint instead of csslint
ae2e7e6 FindAndReplaceDialog: Check initialFragment is set when closing dialog
fb7e483 Add more colour rules to stylelint
44f0a87 Add font rules to stylelint
396a5f0 Add whitespace rules to stylelint
05453e6 Add single quotes rule to stylelint
6100ea0 Remove -ms-repeating-linear-gradient rules
d03657b Add duplicate property rule to stylelint
5540c99 Add block formatting rules to stylelint
53162ab Add selector whitespace and double colon rules to styleline
29f9c7c Add whitespace rules for media sections
c653d01 Enforce tabs and file-level whitespace (newlines)
6c69798 Disallow duplicate selectors with stylelint
3593be9 Require animations to exist using stylelint
ace2230 Disable browser hacks for unsupported browsers
5f81262 Enforce ascending specificity with stylelint
f4cdf1b Disable !important in stylelint
Change-Id: I10a4e46927fa8ff4545c7ec84a072585f6e9606c
Make some of the methods we currently use to render the node
static so we can re-use them before inserting. We do the evaluation
without inserting the node so as not to dirty the document and
transcation history.
In the unlikely case the request fails, just fallback to inline.
This only handles insertions for now as type changes on edit will be
very rare.
This changes the signature of insertTransclusionNode, which is used
in Cite and Citoid extensions.
Bug: T51784
Change-Id: Ibc2fc66e6866084b0a4deeb082c8a1ca412febb2