Skip to content

15.3.0-rc: RTE code editor modal - pretty-print not working #18605

@stvnhrlnd

Description

@stvnhrlnd

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.3.0-rc

Bug summary

According to #18123 the source code editor for the TipTap editor should format the code when the code editor modal is opened, but this does not appear to be working in the release candidate.

Specifics

In browser dev tools we can see a couple of 404s on JavaScript files followed by some errors that look to be related to Monaco:

Image

Tested in Firefox and Chrome.

Steps to reproduce

  1. Create and run a new Umbraco project using the latest template (Package Script Writer script here).
  2. Create a new document type with a richtext editor property (allow at root).
  3. Create a node and populate the richtext editor with some paragraphs.
  4. Click the "View Source Code" toolbar button.

Expected result / actual result

Expected result: code should be formatted nicely.
Actual result: the code is all on one line.


This item has been added to our backlog AB#50249

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions