Currently when I link something with line breaks, like poetry, the text in the link preview appears all on one line in applications like Discord. Is there a way to make sure link previews show line breaks?
Can you clarify how you are doing this. What do you mean "when I link something with line breaks". Do you mean enter text with line breaks in the Body of a page? If so, are you using Filtered Text and CKEditor (which are the default for Body)? I'm trying to enter text with line breaks in the Body using "Filtered Text" and CKEditor. When I click Preview it shows correctly.
Sorry, I really don't know how you are making Backdrop show a link preview like the one you posted - never done that before. Is this in a textarea field? Or what kind of field?
Thank you argiepiano, it works exactly as you said, the only thing is i dont have the "classify option" under file-types but I wrote it and I was able to access it and its done, now users can...
This is probably because your files are classified as octet-stream, since the mimetype for APK files is unknown to Backdrop. When this happens, Backdrop doesn't assign a file type to the managed file...
Posted10 hours 37 min ago by Alejandro Cremaschi (argiepiano) on:
For the record I cut and pasted the missing blogs. This was so long ago and the experience that I've gained made me realize the difference between content and configuration. It is likely that...
This may not be news, but I had some success with Node Export on D7 and Feeds on Backdrop. (Couldn't get Feeds -> Feeds import to work correctly.) The way I got it working was to set Node...
This module allows an administrator to define additional (billing and
shipping) address fields (i.e. VAT) in Ubercart e-commerce suite.
Backdrop CMS port: https://drive.google.com/file/...
Comments
Hi CurrentBias,
Can you clarify how you are doing this. What do you mean "when I link something with line breaks". Do you mean enter text with line breaks in the Body of a page? If so, are you using Filtered Text and CKEditor (which are the default for Body)? I'm trying to enter text with line breaks in the Body using "Filtered Text" and CKEditor. When I click Preview it shows correctly.
Thanks for the reply! To clarify, I mean the opengraph link preview that appears when a link is posted somewhere like Discord -- here's an example:
The post itself has line breaks, but the preview does not -- I'm wondering how to make the preview display the line breaks as well
Sorry, I really don't know how you are making Backdrop show a link preview like the one you posted - never done that before. Is this in a textarea field? Or what kind of field?
Does it display the same as a link preview in other platforms?
Perhaps it is just discord discarding the markup?