3 ms·
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
by nickthesick 2y 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 https://news.ycombinator.com/item?id=41036078
I am curious what you mean by the formatting is lost though?
- qwertox 2y agoOdd, multiline backtick code works very good, I don't know why I thought that it was also broken. 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: Test: ``` def foo(): return bar ``` Delete that and type Test: ``` def foo(): return bar ``` done 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 Test: def foo(): return bar done 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.