|
|
|
|
|
by nickthesick
697 days ago
|
|
They are using Tiptap for their input and just a couple of days ago we called them out on some perf improvements that could be had in their editor: https://news.ycombinator.com/item?id=41036078 I am curious what you mean by the formatting is lost though? |
|
When you type "test `foo` done" in the editor, it immediately changes `foo` into a wrapped element. When you then copy the text without submitting it, then the backticks are lost, losing the inline-code formatting. I thought that this could also happen to multiline code. Somehow it does.
Type the following:
Delete that and type In the first case, the ``` in the line "Test: ```" does not open the code block, this happens with the second backtics. Maybe that's the way markdown works.In the second case, all behaves normally, until you try to copy what you just wrote into the clipboard. Then you end up with
Ok, only the backticks are lost but the formatting is preserved.I think I have been trained by OpenAI to always copy what I submit before submitting, because it sometimes loses the submitted content, forcing me to re-submit.