Hi Tammo,
Allowing people to paste text in from Word, while still capturing all the semantic details required for a well-structured web page - that's probably the Holy Grail of content management systems :-) The problem is that when you paste content from Word into a browser, it's effectively reduced to just a set of <span> elements with font styles attached. I'm not sure what happens with tables, but I'm pretty sure that a bullet list gets reduced to a plain paragraph with line breaks and bullet characters embedded in it, not a <ul>. The best we can do (short of having heuristics to inspect the 'tag soup' HTML and guess what elements they're supposed to be) is to strip the markup to the bare minimum, and rely on editors to re-apply it manually.
In the medium term, I hope that we can improve the StreamField user interface to the point where it's as seamless and natural to use as the rich text field: for example, pressing enter while you're typing into a 'paragraph' block would start a new paragraph block. (And then you could subsequently insert new blocks in between them - including complex elements like tables.) From there, it's not much of a leap to imagine pasting multiple paragraphs of text into a StreamField, and having it divide them into separate blocks. (And *then* we can think about adding those heuristics to determine which of those 'paragraphs' are actually headings, or lists, or tables...)
Cheers,
- Matt
> --
> You received this message because you are subscribed to the Google Groups "Wagtail support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
wagtail+u...@googlegroups.com.
> To post to this group, send email to
wag...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/wagtail.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/wagtail/67d79554-b414-4123-88d6-bf65393fceae%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.