Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Body preview of writing a question can appear differently than when posted...

+4
−0

There was some strange behavior when I typed in my last post. I noticed that there is different behavior when you type something inside a preview of a body versus when you make a post (or save the changes).

Actual result

Here's an example: * Bullet points after returning a single line when typing like this shows up normally in preview (see picture below)... but right now it might look like it's currently inline with the previous line.


When drafting a post

Image alt text


Actual result

Another example:

Smaller text here


When drafting a post

Image alt text


So as you can see, there's some different behavior from what the preview shows and what the actual post shows.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (1 comment)

1 answer

+2
−0

This happens because the preview is being rendered client-side by a JavaScript library, while the actual post is being rendered server-side using a Rails library. I've been told it's not feasible to use the exact same library in both places, but finding a way to resolve these differences (so they behave the same way even though they're different code) is on the to-do list.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »