Mercurial Hosting > reactionary
comparison src/wysiwyg.html.luan @ 22:0e882ff8d245
add wysiwyg
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 05 Aug 2022 00:22:05 -0600 |
| parents | src/lucene.html.luan@612a6dd1c2fa |
| children | f63622ee731a |
comparison
equal
deleted
inserted
replaced
| 21:4da9127848f1 | 22:0e882ff8d245 |
|---|---|
| 1 local Luan = require "luan:Luan.luan" | |
| 2 local error = Luan.error | |
| 3 local Io = require "luan:Io.luan" | |
| 4 local Http = require "luan:http/Http.luan" | |
| 5 local Shared = require "site:/lib/Shared.luan" | |
| 6 local head = Shared.head or error() | |
| 7 local needed_header = Shared.needed_header or error() | |
| 8 | |
| 9 | |
| 10 return function() | |
| 11 Io.stdout = Http.response.text_writer() | |
| 12 %> | |
| 13 <!doctype html> | |
| 14 <html> | |
| 15 <head> | |
| 16 <% head() %> | |
| 17 <title>Reactionary Software - WYSIWYG Web Editor</title> | |
| 18 </head> | |
| 19 <body> | |
| 20 <% needed_header() %> | |
| 21 <div content> | |
| 22 <h1>WYSIWYG Web Editor</h1> | |
| 23 | |
| 24 <p>I need a WYSIWYG web editor for <a href="freedit.html">FreedIt</a>. I have looked at the numerous modern options and of course they are all horrible. The best I could find was <a href="https://www.tiny.cloud/">TinyMCE</a> and I spent about 2 weeks trying to make this bloated pig work, but gave up.</p> | |
| 25 | |
| 26 <p>So instead I focused on finding something with readable code. And I found <a href="https://www.sceditor.com/">SCEditor</a> which has readable code and also supports BBCode which is a benefit for FreedIt. But this needs work. It is not well supported, has bugs, and needs improvements. So I <a href="https://hg.reactionary.software/repo/sceditor/">forked the code</a> and I will work on improving it until it is usable.</p> | |
| 27 | |
| 28 <p>Of course if someone volunteered to take over this project, I would be thrilled. It is a nice small stand-alone Javascript project. But I won't hold my breath and I assume I will end up doing it. I have other work, so I will only do this during my free time.</p> | |
| 29 </div> | |
| 30 </body> | |
| 31 </html> | |
| 32 <% | |
| 33 end |
