![]() ![]() Dive into this plugin folder cd src/plugins/wysiwyg and install react-quill:.If the plugins.js file is not available in that directory create it yourself and make sure the file naming is the same otherwise your plugin will not work. Copy that to your plugins configurations file, which you can find in "Your Project's name"/config/plugins.js Your shell will generate a piece of code like below.The shell prompts you to enter a plugin name, type wysiwyg for the plugin name and hit the enter key again.Select “Plugin” from the list of available options, then press “Enter”. Start by generating a new plugin, yarn strapi generate and press "Enter”.You can shut down your Strapi server in the terminal by pressing Ctrl+C.Īs I said earlier, we will create a new field in the administration panel to change our editor. Now, I will create my admin user and a very simple collection type with a rich text field. Yarn create strapi-app strapi-quill-editor -quickstart For my part, I will simply create a new one. The first thing to do is to take an existing Strapi project. If you have existing content in Markdown then you will need to convert it to HTML. Be careful when changing editors on an existing app. Note: You should know that quill is an HTML editor, not a Markdown one. ![]() To do this, we will create a new Field in the administration panel! Nothing very complicated and it won't take you more than 5 min. It was obvious to offer a second tutorial allowing you, this time, to use the Quill editor, more specifically react-quill. It turns out that, according to our analytics and the number of requests on our slack, this tutorial is highly requested and an important resource for you or your team. WYSIWYG JSON EDITOR HOW TOWith any luck, you will come across the excellent tutorial from Soupette, which teaches you how to change the default editor to CKEditor. This is why you are looking to change the current editor. Many of you don't want to settle for the default WYSIWYG editor in Strapi. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |