dotCMS / dotCMS/core

[DEFECT] Monaco code editor does not include a word wrap checkbox.

Open
#34,494 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Customer Support Team : Maintenance
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

The update from Ace editor to Monaco does not include a word wrap(code wrap for ace editor) check box. This makes it so code can be harder to read.

Steps to Reproduce

In the Browser portlet of the demo environment, go to /application/block-editor/default/dotContent.vtl to see the text not wrapping, nor an option to wrap.

https://github.com/user-attachments/assets/e87b56ea-449c-4f6c-8941-9e70b74e7f26

Acceptance Criteria

Have a check box for word wrapping in the Monaco editor.

dotCMS Version

Current Evergreen 26.01.26-1

Severity

Low - Minor issue or cosmetic

Links

https://dotcms.freshdesk.com/a/tickets/35337

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Browser portlet at /application/block-editor/default/dotContent.vtl and inspect how the Monaco editor is configured. Add a word-wrapping checkbox and verify in that portlet that enabling it wraps the displayed code.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.