https://bugzilla.wikimedia.org/show_bug.cgi?id=65052

            Bug ID: 65052
           Summary: VisualEditor: Block slugs are stupid, question mark?
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Data Model
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

The concept of a block slug from a UX POV is great, but why do we need to keep
them out of the DM? It seems to be the source of far too many getOffset hacks,
as you can put your cursor somewhere that doesn't have a real offset
(model-view inconsistency). We already have a way of marking a paragraph as
to-be-ignored-by-the-converter-if-empty ({internal:'empty'}), so let's just put
them in the DM, and throw them away at convert time if they're empty.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to