Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to word plugin implementation #4865

Open
naveenk180915 opened this issue Jan 17, 2025 · 0 comments
Open

Export to word plugin implementation #4865

naveenk180915 opened this issue Jan 17, 2025 · 0 comments

Comments

@naveenk180915
Copy link

Implemented the Export to word feature as a custom plugin for the Froala wysiwyg-editor, the plugin aims to provide users with a seamless way to download and export their editor content into a fully formatted Word document. This feature will improve content portability while preserving the visual integrity of the editor's content in the exported file.

The feature can be tested and reviewed via the provided fiddle link: Export to word

I believe this feature would be a valuable enhancement to Froala's core functionality and recommend its consideration for inclusion in future versions , so it will help the users who are seeking to download editor content as a Word document. It can be seamlessly integrated into the existing framework with minimal adjustments.

Features of the Plugin:

1.Text and Formatting: The exported Word document retains text formatting, including bold, italic, underline, strikethrough, custom font sizes, colors (text and background), and alignment (left, right, center, justify).
2.Media Support: Images and URL based images are correctly included in the exported Word file, ensuring all visual elements are preserved.
3.Tables and Lists: Tables are exported with the same structure (rows, columns, cells), and both ordered and unordered lists are properly formatted.
4.RTL (Right-to-Left) Content: Content with right-to-left text direction is preserved, ensuring accurate representation of languages written in RTL format.

Known Issues:

1. Embedded URLs: Not able to see embedded URLs properly in the exported Word file.
2.Emoticons: Emoticons are not appearing correctly in the downloaded document.
3.FontAwesome Icons: FontAwesome icons are not appearing correctly in the downloaded document.
4.Images: Images resolution was not retained after export.
5.Special Characters: Special Characters are not appearing correctly in the downloaded document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant