view src/wysiwyg.html.luan @ 26:4ab979c0ab5d

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 06 Nov 2022 14:50:30 -0700
parents f63622ee731a
children e287c82a81e5
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>Writing a WYSIWYG web editor is a nice small stand-alone Javascript project.  I won't do it because I have too much other work.  If someone else does it, great.  If not, FreedIt will be unusable for end-users.  Which is fine because fuck humanity.  If no one helps me, why should I give a shit about anyone else?</p>
		</div>
	</body>
</html>
<%
end