---
title: PDF Butler Document Editor v1.21
description: "This release introduces several enhancements to the **PDF Butler Document Editor**, providing greater flexibility when editing documents directly from Salesforce and additional customization options for the Lightning component. **Package Version:** v1.21 --- #### New Features ##### Edit Existing DOCX Files…"
url: "https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-document-editor/pdf-butler-document-editor-v1-21/"
updated: "2026-10-06"
category: PDF BUTLER Document Editor
---

# PDF Butler Document Editor v1.21

This release introduces several enhancements to the **PDF Butler Document Editor**, providing greater flexibility when editing documents directly from Salesforce and additional customization options for the Lightning component.

**Package Version:** v1.21

---

#### New Features

##### Edit Existing DOCX Files

The Document Editor can now be used to edit **existing Microsoft Word (.docx) files** that are already stored in Salesforce.

This feature allows users to open an existing document in the Document Editor instead of always generating a new document from a Doc Config.

##### How to Enable

1. Edit the page containing the **PDF Butler Document Editor** component.
2. Enable the **Edit Existing DOCX Files** checkbox.
3. Save and activate the page.
    ![](https://pdfbutler.com/wp-content/uploads/2026/09/Screenshot-2026-09-25-at-14.31.09-300x165.png)

Once enabled, users can open and edit existing DOCX files directly from Salesforce.

> **Note:** The **Generate and Edit from Doc Config** setting is independent from this option. Use it to control whether users can generate a new document from a Doc Config before opening it in the Document Editor.

---

#### Order the Doc Config List

A new **DocConfigs Order By** property has been added to the Document Editor Lightning component.

This property allows administrators to define how the available Doc Configs are sorted in the Document Editor.

**Example,**If you configure: `Name ASC`

The Doc Config picker will display all available Doc Configs sorted alphabetically by **Name** in ascending order.

You can use any supported Salesforce ordering expression based on Doc Config fields.

![](https://pdfbutler.com/wp-content/uploads/2026/09/Screenshot-2026-09-25-at-14.34.46-300x214.png)

---

#### Customize the Document Editor Size

Two new component properties allow administrators to control the size of the Document Editor window.

##### Modal Width

Use **Modal Width** to define the width of the Document Editor.

Examples:

- `90vw`
- `1200px`

##### Modal Height

Use **Modal Height** to define the height of the Document Editor.

Examples:

- `90vh`
- `800px`

Adjusting these values allows you to optimize the Document Editor for different screen sizes and user experiences.![](https://pdfbutler.com/wp-content/uploads/2026/09/Screenshot-2026-09-25-at-14.36.27-300x174.png)

---

#### Translate the Document Editor

The Document Editor now supports additional translations through **Salesforce Custom Labels**.

All text, labels, and buttons displayed in the Document Editor can be translated without modifying the package.

##### Configure Translations

1. Go to **Setup**.
2. Search for **Custom Labels**.
3. Open **Custom Labels**.
4. Filter by the **Document Editor** category.
5. Create or edit translations using **Local Translations / Overrides** for the desired language.
6. Save your changes.

Users will automatically see the translated labels based on their Salesforce language settings.

> **Note:** If the **Local Translations / Overrides** related list is not available, ensure that the required languages have been enabled in your Salesforce organization.

![](https://pdfbutler.com/wp-content/uploads/2026/09/Screenshot-2026-09-25-at-14.37.22-300x62.png)

> **Note:** Save and Update button - this is only available when you are editing the existing docx files. This will update the docx file instead of creating a new file. Whereas Save DOCX will insert a new DOCX file

 
