diff options
author | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:00:56 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | 1961a9779b482cf9cbdb3365137c2e74423067c6 (patch) | |
tree | 3965e0e464b9dfb8ddff10338dd6757af13238c2 /editor/editor.html | |
parent | d20d14b4f4a903ef9aea4c01dd46fab5ecbab6ae (diff) |
Text editor using quill
Diffstat (limited to 'editor/editor.html')
-rwxr-xr-x | editor/editor.html | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/editor/editor.html b/editor/editor.html new file mode 100755 index 0000000..525d8fc --- /dev/null +++ b/editor/editor.html @@ -0,0 +1,149 @@ + +<!DOCTYPE html> +<html lang="fr_fr"> +<head> + <meta charset="utf-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <meta name="HandheldFriendly" content="True" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="robots" content="noindex, nofollow" /> + + <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet"> + + <link rel="stylesheet" type="text/css" href="/theme/stylesheet/style.min.css"> + + + <link id="pygments-light-theme" rel="stylesheet" type="text/css" + href="//localhost:8000/theme/pygments/monokai.min.css"> + + + <link rel="stylesheet" type="text/css" href="/theme/font-awesome/css/fontawesome.css"> + <link rel="stylesheet" type="text/css" href="/theme/font-awesome/css/brands.css"> + <link rel="stylesheet" type="text/css" href="/theme/font-awesome/css/solid.css"> + + <link href="//localhost:8000/custom.css" rel="stylesheet"> + + <link href="//localhost:8000/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Chimrod Atom"> + + + + + + <meta name="author" content="Chimrod" /> + <meta name="description" content="" /> +<meta property="og:site_name" content="Chimrod"/> +<meta property="og:type" content="blog"/> +<meta property="og:title" content="Chimrod"/> +<meta property="og:description" content=""/> +<meta property="og:locale" content="en_US"/> +<meta property="og:url" content="//localhost:8000"/> +<meta property="og:image" content="/images/profile.png"> + + + + <title>Chimrod – Editor</title> + +<link rel="stylesheet" href="quill/quill.snow.css" /> + +<style> + .standalone-container { + margin: 50px auto; + max-width: 100%; + } + #text-container { + height: 350px; + } +</style> +</head> +<body class="light-theme"> + <aside> + <div> + <a href="//localhost:8000"> + <img src="/profile.png" alt="Chimrod" title="Chimrod"> + </a> + + <h1> + <a href="//localhost:8000">Chimrod</a> + </h1> + + + + <nav> + <ul class="list"> + + + + <li> + <a target="_self" href="http://git.chimrod.com" >git</a> + </li> + </ul> + </nav> + + <ul class="social"> + </ul> + </div> + + </aside> + <main> + + <nav> + <a href="//localhost:8000">Accueil</a> + + + <a href="//localhost:8000/feeds/all.atom.xml">Atom</a> + + </nav> + +<article class="single"> + <header> + + <h1 id="editor">Editor</h1> + </header> + <div> +<div class="standalone-container"> + <div id="text-container"></div> +</div> + + + +<script src="quill/quill.min.js"></script> + + <noscript>Sorry, you need to enable JavaScript to see this page.</noscript> + <script id="script" type="text/javascript" defer="defer" src="editor.js"></script> + <script> + var script = document.getElementById('script'); + script.addEventListener('load', function() { + var app = document.getElementById('text-container'); + editor.attach(app); + }); + </script> + + + + <footer class="info"> </footer> + </div> +</article> + + <footer> +<p>© </p> +<p> +</p> </footer> + </main> + + + + +<script type="application/ld+json"> +{ + "@context" : "http://schema.org", + "@type" : "Blog", + "name": " Chimrod ", + "url" : "//localhost:8000", + "image": "./profile.png", + "description": "" +} +</script> + + +</body> +</html> |