view src/wysiwyg.html.luan @ 23:f63622ee731a

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 05 Aug 2022 13:03:07 -0600
parents 0e882ff8d245
children 4ab979c0ab5d
line wrap: on
line source

local Luan = require "luan:Luan.luan"
local error = Luan.error
local Io = require "luan:Io.luan"
local Http = require "luan:http/Http.luan"
local Shared = require "site:/lib/Shared.luan"
local head = Shared.head or error()
local needed_header = Shared.needed_header or error()


return function()
	Io.stdout = Http.response.text_writer()
%>
<!doctype html>
<html>
	<head>
<%		head() %>
		<title>Reactionary Software - WYSIWYG Web Editor</title>
	</head>
	<body>
<%		needed_header() %>
		<div content>
			<h1>WYSIWYG Web Editor</h1>

			<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 I gave up.</p>

			<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 put it <a href="http://sceditor.reactionary.software/">here</a> and I will work on improving it until it is usable.</p>

			<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>
		</div>
	</body>
</html>
<%
end