view src/wysiwyg.html.luan @ 69:2311b8b8537a default tip

discord link
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 18 Nov 2024 09:34:14 -0700
parents 02f0e4da950c
children
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.  Writing a WYSIWYG web editor is a nice stand-alone Javascript project.</p>
		</div>
	</body>
</html>
<%
end