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
Comment #2
daniel.bosenComment #3
daniel.bosenComment #4
volkerk CreditAttribution: volkerk commentedComment #5
miro_dietikerWe 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?
Comment #6
volkerk CreditAttribution: volkerk at Thunder commentedComment #7
chr.fritschWe are working on a PR https://github.com/thunder/thunder-distribution/pull/104
Comment #9
daniel.bosenCrediting review
Comment #10
daniel.bosenWe integrated the feature experimentally into Thunder. UX leaves a some things to be desired, but we can tackle this now!
Thanks a lot!
Comment #11
daniel.bosen