Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Mammoth (convert .docx to html)

No security coverage Under active development 4 sites

This module converts .docx documents, like those from Microsoft Word, into HTML. It automatically uploads images from the document to your Drupal site, saving you the effort of manual copying and pasting.

Mammoth is designed to convert .docx documents, such as those created by Microsoft Word, Google Docs and LibreOffice, and convert them to HTML.

Copy image from word to Drupal is a tedious work, this module integrate Mammoth.js with Drupal and save your time. How to use it:

After you install this module,
1, Navigate to /admin/content/word2html( You could see a tab "word2html" in admin content page).
2, Click choose file button, choose your docx file
3, After the convert finished, click "Copy HTML" button
4, Click the source button of you textarea field which use CKeditor,
5, Paste the html content to your field.

It auto upload image to Drupal backend, and convert it to :

<img alt="image" data-align="center" data-entity-type="file" data-entity-uuid="78ca0190-701b-474a-bba1-6bf8ad34d90c" src="/drupal10/sites/default/files/mammoth/2023/04/25/35261fe4f77ba1c665655acb35af2953.png" />

The image can be managed by img button of CKeditor.

Sponsors

This module was sponsored by The National Institute of Metrology, China

Integrate with CKeditor

It is not supported now, Will be support in the future when the author have time. Patch is welcome.

Ask your assistant about Mammoth (convert .docx to html)

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta2 Pre-release 9–10 Apr 26, 2023
1.0.x-dev Dev 9–10 Apr 25, 2023
1.0.0-beta1 Pre-release 8–10 Apr 25, 2023