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.

Post History

50%
+0 −0
Q&A Editor preview left outdated after adding content without the keyboard

Generally when making a change in the input text box for a post, the editor preview updates to reflect the change. However, there are two occasions when this is not the case, and the editor preview...

0 answers  ·  posted 6mo ago by trichoplax‭

Question bug editor-preview
#1: Initial revision by user avatar trichoplax‭ · 2024-05-30T11:37:42Z (6 months ago)
Editor preview left outdated after adding content without the keyboard
Generally when making a change in the input text box for a post, the editor preview updates to reflect the change. However, there are two occasions when this is not the case, and the editor preview is left outdated and inconsistent with the input text box.

## Uploading an image
After uploading an image, the Markdown for the image is automatically included in the input text box, but the editor preview does not include the image until next time the cursor is moved into the input text box (that is, next time the input text box becomes active).

This can be particularly confusing when the editor preview already contains an image added previously, since at first glance it can look like the wrong image has been added.

## Pasting in text
After pasting in text to the input text box, the editor preview does not show the new text until a keyboard interaction is made (adding or removing a character, or moving the keyboard cursor). Note this problem does not occur if the pasting is done with a keyboard shortcut, such as **ctrl** + **V**. The problem only occurs when the keyboard is not involved, such as when using the mouse to paste.