Tag: 构成了

如何使用QuillJs和body-parser提交表单?

我是Nodejs的新手(通常是编码)。 我正在尝试构build一个小型的内容pipe理系统。 我希望我的潜在最终用户能够通过单击button将post提交到我的博客之前,对其内容进行样式设置(粗体,斜体,超级链接等)。 这种types的工具栏,我看到在Stackoverflow,因为我input这个 这是我阅读奎尔的指南后到目前为止: form.ejs <style> #editor { height: 300px; } </style> <!– Include Quill stylesheet –> <link href="https://cdn.quilljs.com/1.0.0/quill.snow.css" rel="stylesheet"> <!– Create the toolbar container –> <div id="toolbar"> <button class="ql-bold">Bold</button> <button class="ql-italic">Italic</button> </div> <form action = '/blog' method = 'POST'> <!– Create the editor container –> <input type = 'text' name = 'title' placeholder […]