view src/wysiwyg.html.luan @ 27:e287c82a81e5

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 09 Nov 2022 23:13:02 -0700
parents 4ab979c0ab5d
children 02f0e4da950c
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 would like 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, I would use it in FreedIt.  If not, FreedIt will just use BBCode.</p>
		</div>
	</body>
</html>
<%
end