mediawiki-extensions-Visual.../modules
Catrope 0516b1d7f0 Make entity nodes work in CE
Check for all node classes in getOffsetFromTextNode(), not just
branches and aliens (an entity is neither)

Render entities with contenteditable=false. Without this, selection was
still broken, because:

Foo|€Bar was really <p>Foo<span>|€</span>Bar</p> which maps correctly.
Foo€|Bar was really <p>Foo<span>€|</span>Bar</p> which maps to the same,
which is incorrect.

With cE=false, the cursor can't be inside the span, so we get:
Foo|€Bar is really <p>Foo|<span>€</span>Bar</p> which maps correctly.
Foo€|Bar is really <p>Foo<span>€</span>|Bar</p> which maps correctly.

Change-Id: Iaf603346590a9ad553c152565eb203136be7a399
2012-11-21 12:04:31 -08:00
..
jquery Upstream: jQuery 1.8.2, QUnit 1.10.0. 2012-10-23 00:31:27 +02:00
qunit Upstream: jQuery 1.8.2, QUnit 1.10.0. 2012-10-23 00:31:27 +02:00
rangy svn:eol-style native 2012-02-10 16:57:02 +00:00
ve Make entity nodes work in CE 2012-11-21 12:04:31 -08:00