This website requires JavaScript.
Explore
Help
Sign in
nicole
/
pique
Watch
1
Star
0
Fork
You've already forked pique
0
Code
Pull requests
Activity
0611aac45f
pique
/
frontend
/
main.ts
3 lines
71 B
TypeScript
Raw
Normal View
History
Unescape
Escape
Improve editor user experience (no longer WYSIWYG, fixed bugs, added view vs. edit distinction) (#3) This makes the editor experience much better (by subjective measures). Now instead of a WYSIWYG editor, we have a markdown code editor, and we also have the ability to view documents without editing them. While I was at it, I fixed a bug where if you didn't edit a document at all, it would save blank. This was fixed as a happenstance from the switch. Also included here is making the UI work with Javascript disabled. If you don't have JS, you will get a textarea which allows editing the markdown directly. If you do have JS enabled, you'll get a smarter editor. Reviewed-on: https://git.kittencollective.com/nicole/pique/pulls/3
2024-06-03 14:56:15 +00:00
import
{
makeEditor
}
from
'./editor'
;
window
.
makeEditor
=
makeEditor
;
Copy permalink