themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.3k stars 710 forks source link

[Documentation Issue] [Related content/forms/textarea.md] WYSIWYG Editor - Step 2 #833

Closed TiAmonia closed 3 months ago

TiAmonia commented 3 months ago

Problem Description

While using the website flowbite (url), I stumbled upon an error. It is not a severe issue, just a tag error. In the example, the textarea is being closed as a self-closing tag and then followed by another textarea tag. This is not in line with the standard markup. <textarea id="editor" rows="8" class="block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400" placeholder="Write an article..." required /></textarea>

Expected Content

Change the original content to <textarea id="editor" rows="8" class="block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400" placeholder="Write an article..." required ></textarea> or <textarea id="editor" rows="8" class="block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400" placeholder="Write an article..." required />.