textarea-editor/index.html

53 lines
987 B
HTML

<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<!-- traemos la librería JS - editor : TODO -> tenerla en local-->
<link href="css/quill.snow.css" rel="stylesheet"/>
<title>Editor de textarea ~ Prueba de Concepto</title>
</head>
<style>
body{
overflow-x:hidden;
}
</style>
<body>
<section>
<h1>Editor de textarea ~ Prueba de Concepto</h1>
<!-- Create the editor container -->
<div id="editor">
<p>Horas non numero, nisi serenas</p>
<p>Atelier Discordia <strong>bold</strong> text</p>
<p><br /></p>
</div>
<section/>
</body>
<footer>
<a href="https://quilljs.com/ "> Librería : QuillJS Editor</a>
</footer>
<!-- Include the Quill library -->
<script src="js/quill.js"></script>
<!-- Initialize Quill editor -->
<script>
const quill = new Quill("#editor", {
theme: "snow",
});
</script>
</html>