mediawiki-extensions-Visual.../modules/ve/ce/nodes
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
..
ve.ce.AlienBlockNode.js Phantoms not vanishing on mouseout 2012-11-16 11:32:59 -08:00
ve.ce.AlienInlineNode.js Phantoms not vanishing on mouseout 2012-11-16 11:32:59 -08:00
ve.ce.AlienNode.js Phantoms not vanishing on mouseout 2012-11-16 11:32:59 -08:00
ve.ce.BreakNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.CenterNode.js Whitespace and comments 2012-09-17 16:53:03 -07:00
ve.ce.DefinitionListItemNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.DefinitionListNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.DocumentNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.HeadingNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.ImageNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.ListItemNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.ListNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.MetaBlockNode.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.ce.MetaInlineNode.js Fix constructor names; remove redundant hasOwnProperty. 2012-10-08 06:15:20 +02:00
ve.ce.MWEntityNode.js Make entity nodes work in CE 2012-11-21 12:04:31 -08:00
ve.ce.ParagraphNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.PreformattedNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TableCellNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TableNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TableRowNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TableSectionNode.js Documentation & clean up 2012-09-17 16:02:52 +02:00
ve.ce.TextNode.js Flag pre nodes as having significant whitespace 2012-11-07 12:10:58 -08:00