steven-tey / novel

Notion-style WYSIWYG editor with AI-powered autocompletion.
https://novel.sh
Apache License 2.0
12.47k stars 1.03k forks source link

Add Image with Link Support #428

Open mr-zlaam opened 1 month ago

mr-zlaam commented 1 month ago

Describe the feature you'd like to request

I would like to request the addition of a feature that allows users to insert images with hyperlinks into the text editor. This feature would greatly enhance the versatility and functionality of Novel.sh for a variety of use cases, including documentation, blogging, and academic writing.

Describe the solution you'd like to see

The requested feature should enable users to:

Insert an image into the text editor. Attach a hyperlink to the image, allowing users to click on the image to be redirected to a specified URL. Implementation Details:

Image Insertion: Users should be able to upload an image from their local device or provide an image URL.

Link Attachment: After inserting the image, users should have the option to add a hyperlink to the image. This can be done through a context menu or a toolbar button.

User Interface: The process should be intuitive and user-friendly. For example, users could right-click on the image and select "Add Link," then enter the URL in a prompt. Use Cases:

Documentation: Embedding linked diagrams or screenshots that redirect to detailed documentation or external resources. Blogging: Including clickable images to enhance blog posts, such as linking to larger versions of images, external articles, or product pages. Academic Writing: Adding figures or charts that link to sources or additional data.

Benefits: Enhances the editor's capability for creating rich, interactive content. Improves the overall user experience by reducing the need to manually manage HTML or markdown for linking images. Expands the potential user base by catering to more diverse content creation needs.

Additional information

Integrating the ability to add images with links would significantly improve the functionality of Novel.sh, making it a more powerful tool for a wider range of users. This feature aligns with the goal of providing a versatile and user-friendly text editor.

Thank you for considering this feature request. I look forward to seeing Novel.sh continue to evolve and improve.