Details
-
Suggestion
-
Resolution: Unresolved
-
1
-
Description
Issue Summary
As stated here, in the legacy editor, the default language is Java to apply syntax highlighting in the code block macro, even if you don't select a language.
In the new Cloud editor, the Code Snippet doesn't apply Java syntax highlighting by default. To get this syntax applied, you need to manually select Java.
Steps to Reproduce
- Create a page and insert a Code Snippet macro
- Add code inside that macro and do not select any language
- Publish the page
Desired Feature
Code Snippet should apply the Java syntax highlighting by default in the new editor, even if a language wasn't selected.
Actual Results
Code Snippet macro isn't applying Java syntax highlighting by default in the new editor. To get this applied, it is required to select Java.
Language set to none:
Language manually set as Java:
Workaround
Currently, a workaround for that behavior would be selecting manually Java as the language for that macro.
Attachments
Issue Links
- mentioned in
-
Page Loading...