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?
Hi
Editing I see this:
The CSS looks like this:
/* Level 1: Standard Numbers */
.field-name-body ol {
list-style-type: decimal;
}
/* Level 2: Lowercase Letters */
.field...
Done:
https://github.com/backdrop/backdrop-issues/issues/7097
Feel free to edit it with better technical language.
I'll have ago at vaccinating it but I'm only a user and the...
Hi Mike.
That looks like a bug. The CKE ordered lists when editing have the correct CSS to format those lists correctly, but when Backdrop displays the body field in Basis, it doesn't...
Posted3 days 21 hours ago by Alejandro Cremaschi (argiepiano) on:
Restore Newsletter Subscriptions from a Dev Website
In my last comment, I described a way to restore newsletter subscriptions from a database backup. The method involved directly editing...
Posted6 days 9 hours ago by Olaf Grabienski (Olafski) on:
I am considering migrating my drupal 7 website to backdrop.
Hi @seamus, I would like to offer my professional services for migration to BackdropCMS.
Please connect If...
Posted1 week 5 hours ago by Deep Vyas (deepvyas) on:
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?