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

--- Comment #3 from kipod <[email protected]> ---
(In reply to comment #1)
> From a comment I posted on bug 49686:
> 
> The desire [for VE to understand wikimarkup] stems from people wanting the
> best
> of both worlds - they want to be able to have the structure and layout of the
> visual editor with the low-level control they are used to in the source
> editor
> all in one place. 
> 
> Long term something like this really ought to be possible, but I don't think
> [VE automatically converting wikitext to visual elements at save or on the
> fly]
> is the way. Rather there should be some way for the visual editor to include
> non-visual blobs that it sends to the parser as is without doing anything to
> it
> (other than word wrapping in the editing window); and someway for the editor
> to
> mark the start and end of such blobs.

i am not sure this is required. once you inject a blob, ve can "pretend" that
it found it there when it originally opened the page for editing (i.e., do
"unparse for the whole content, inject the blob into the right place in the
"unparsed" page, and then "reparse", to integrate the blob into the page).
marking the beginning and end of blob will not be necessary if this approach is
taken. this may not be a cheap or quick operation, but it's much better to have
an expensive "inject" than no inject at all, which basically force the user to
use "edit source".

i never investigated what VE does exactly when the user uses Copy/Paste between
two pages (i.e., open one page in VE, mark part of it, "Copy", open another
page for editing, and "Paste"). maybe we can take a page from that book, no?.

peace.

-- 
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