mediawiki-extensions-Visual.../modules/ve/ce
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
..
nodes Make entity nodes work in CE 2012-11-21 12:04:31 -08:00
styles Alien Phantoms 2012-11-14 13:11:29 -08:00
ve.ce.BranchNode.js (bug 42134) Add shields after node is attached to the live DOM 2012-11-15 14:17:12 -08:00
ve.ce.Document.js Created method getSlugAtOffset in ve.ce.Document and ve.ce.BranchNode, refactored the way how slugs are added. 2012-10-03 15:40:44 -07:00
ve.ce.js Make entity nodes work in CE 2012-11-21 12:04:31 -08:00
ve.ce.LeafNode.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.ce.Node.js (bug 42134) Add shields after node is attached to the live DOM 2012-11-15 14:17:12 -08:00
ve.ce.NodeFactory.js Rename ve_foo_bar back to VeFooBar per discussion 2012-09-06 16:15:55 -07:00
ve.ce.Surface.js Fixing Pre-Annotations 2012-11-19 17:09:08 -08:00
ve.ce.SurfaceObserver.js Whitespace and comment cleanup on ve.ce.SurfaceObserver 2012-10-26 10:27:54 -07:00