mediawiki-extensions-Visual.../modules/ve
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
..
actions Added undo-before-apply for new link annotations 2012-11-19 17:10:05 -08:00
ce Make entity nodes work in CE 2012-11-21 12:04:31 -08:00
dm (bug 42218) Add MWEntityNode 2012-11-20 16:19:55 -08:00
init (bug 41722) Remove use of the Feedback tool for December release 2012-11-14 16:16:52 -08:00
test (bug 42218) Add MWEntityNode 2012-11-20 16:19:55 -08:00
ui Always apply inspected annotations to the right range 2012-11-19 17:54:55 -08:00
ve.Action.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.ActionFactory.js Add ve.Action, ve.ActionFactory, subclasses 2012-10-26 14:44:17 -07:00
ve.AnnotationSet.js Fix UI for annotation API changes 2012-10-12 17:53:42 -07:00
ve.BranchNode.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Command.js Added some more key bindings for IE and Mozilla support 2012-11-07 16:49:34 -08:00
ve.CommandRegistry.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.debug.js
ve.Document.js Standards: Fix global variables and pass JSHint. 2012-10-23 00:53:48 +02:00
ve.EventEmitter.js
ve.Factory.js Refactored commands into a registry 2012-11-07 15:52:30 -08:00
ve.js <br> isn't a block element 2012-11-14 11:27:49 -08:00
ve.LeafNode.js
ve.Node.js
ve.OrderedHashSet.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Position.js
ve.Range.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.Registry.js Refactored commands into a registry 2012-11-07 15:52:30 -08:00
ve.Surface.js (bug 42134) Add shields after node is attached to the live DOM 2012-11-15 14:17:12 -08:00