striven-editor

Maintained and contributed to an open source WYSIWYG editor as an internship project that made it to production and was adopted by the company I was working at.
git clone https://unitehenry.com/git/striven-editor.git
Log | Files | Refs | README | LICENSE

commit a71e29fd641ce987c192f21a0f1e724ac8b97f7f
parent 530422467381a8fa913fbebbc7084c38a458fc76
Author: Henry Unite <unitehenry@gmail.com>
Date:   Tue, 17 Sep 2019 20:00:56 -0400

server

Diffstat:
Mdemo/src/App.vue | 8+-------
Mmetaserver.js | 2+-
2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/demo/src/App.vue b/demo/src/App.vue @@ -1,7 +1,7 @@ <template> <div id="app"> <h1>Striven Editor</h1> - <div ref="editor" class="editor"></div> + <div ref="editor" style="width: 600px; height: 250px; background-color: #fff;"></div> <div id="footer"> <a href="https://github.com/business-by-miles/striven-editor">Find this on GitHub</a> </div> @@ -75,12 +75,6 @@ html { flex-direction: column; } -.editor { - width: 600px; - height: 250px; - background-color: #fff; -} - #footer { margin: 25px 0; } diff --git a/metaserver.js b/metaserver.js @@ -27,7 +27,7 @@ app.post('/meta', (req, res) => { const { body: html, url } = await got(targetUrl); const metadata = await metascraper({ html, url }); - console.log('Sending meta data: \n', metaData); + console.log('Sending meta data: \n', metadata); res.send(metadata); })() } else {