Problem/Motivation

Editors usually do not actually write articles in the CMS, mostly they write them in Word or something similar. When creating the article in thunder, they usually have to cut and paste the different parts into new paragraphs, social embeds paragraphs have to be added, images uploaded and integrated.
it would be much nicer, if the editor could just copy the whole text and paste it into a single import field, which would create all necessary paragraphs automatically.

Proposed resolution

To separate text paragraphs should be relatively easy, embed codes could be automatically extracted, if the url is given e.g.:

This is the text of the first paragraph. The next line contains a pinterest link, this could be automatically transformed into an pinterest media entity and paragraph:
https://twitter.com/zeitonline/status/907918462319808513
(This will be the second text paragraph) Similar behaviour could be used with other embed codes like youtube: 
https://www.youtube.com/watch?v=APmoU74ZsG4

More complicated is the integration of an image, i have no idea yet on how to do this.

Remaining tasks

Discuss!

Comments

daniel.bosen created an issue. See original summary.

daniel.bosen’s picture

Issue summary: View changes
daniel.bosen’s picture

Issue summary: View changes
volkerk’s picture

Assigned: Unassigned » volkerk
miro_dietiker’s picture

We have some similar requirements, i consider this highly related to efficiently migrate content from an existing site.
The most challenging part is to parse the source mark-up and slice it while mapping to target Paragraph Types. Not sure how much we can do with xpath and configuration (maybe different sets of sources like Word, WordPress, ..) and from when on you really need custom code.

That said, would it be a different add button that then shows an overlay to paste or what's the idea of the UI?

volkerk’s picture

chr.fritsch’s picture

Version: 8.x-2.7 » 8.x-4.x-dev

  • volkerk authored 9d1b51a on 6.3.x
    Issue #2908496 Paragraphs paste feature
    
    
daniel.bosen’s picture

Status: Active » Reviewed & tested by the community

Crediting review

daniel.bosen’s picture

We integrated the feature experimentally into Thunder. UX leaves a some things to be desired, but we can tackle this now!
Thanks a lot!

daniel.bosen’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.