Fix Word Entering Restrict Editing Mode When Inserting Captions
Question details
The user needs to prevent the document from locking up and breaking the table of contents when inserting image captions.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Inserting a caption for an image, such as a university shield or logo, within a document.
- Observed behavior
- Microsoft Word returns to Figure 1, highlights and locks the document into Restrict Editing mode, and completely disables or breaks the Table of Contents.
Ensure you save a backup copy of your document before modifying image layouts, as changing text wrapping on multiple images can temporarily shift your document's formatting.
Change Image Layout to In Line with Text
Resolve the document locking issue by converting the text wrapping of floating images to the inline setting before adding your captions.
This issue is often caused by floating images (such as logos or shields using 'Square' or 'Tight' text wrapping) interfering with Word's captioning sequence. Converting them to inline images prevents the software from mistakenly wrapping the entire document structure inside a hidden caption box.
Click on the image, such as the university shield, that is triggering the restriction mode when captioned.
Click the small Layout Options icon that appears near the top-right corner of the selected image.
Under the layout settings menu, select the In Line with Text option to anchor the image directly into the text flow.
Navigate to the References tab, click Insert Caption, and verify that the document no longer locks or highlights unexpectedly.

Use WPS Writer for Stable Document Editing and Captioning
WPS Writer provides robust handling of floating images and complex document elements. You can easily insert captions for any image layout without worrying about the document locking or your Table of Contents breaking.
- 1. Open your document: Launch WPS Writer and open the document containing the images you want to caption.
- 2. Select the image: Click on the floating or inline image that requires a caption.
- 3. Insert the caption: Right-click the image and select 'Insert Caption' from the context menu, or go to the References tab and click 'Caption'.
- 4. Customize and apply: Type your caption text, select the appropriate label (e.g., Figure), and click 'OK'.
- 5. Update your Table of Contents: Navigate back to your Table of Contents, right-click it, and select 'Update Field' to ensure all new captions are properly indexed.

Frequently Asked Questions
Why does my Table of Contents disappear when I insert a caption in Word?
This happens when Word encounters a bug with floating images, mistakenly treating the entire document as part of the image's caption text box. This overwrites or disables the Table of Contents field. Changing the image layout to 'In Line with Text' prevents this error.
How do I fix a Word document that is currently stuck in Restrict Editing mode?
If inserting a caption just triggered the lock, immediately press Ctrl+Z to undo the action. Otherwise, navigate to the Review tab, click Restrict Editing, and click 'Stop Protection' at the bottom of the right-hand pane.
Can I keep my image as a floating object and still add a caption?
Yes. Instead of using the built-in caption tool, you can manually insert a Text Box below your floating image, type the caption inside, and then group the image and the text box together. You can then apply your preferred text wrapping to the entire grouped object.




