Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nacos-console: code hilighting does not work #1654

Closed
spawpaw opened this issue Aug 6, 2019 · 2 comments
Closed

nacos-console: code hilighting does not work #1654

spawpaw opened this issue Aug 6, 2019 · 2 comments
Labels
Milestone

Comments

@spawpaw
Copy link

spawpaw commented Aug 6, 2019

Issue Description

Type: bug report

Scope: console

Describe what happened (or what feature you want)

the code highlighting works fine when we are creating new configurations:
image

but after publishing, either performing editing or viewing the detail action on that configuration, the code highlighting dose not work:
editing the config:
image
viewing details of this config:
image

Describe what you expected to happen

the code highlighting should display as what we defined, or we can choose the code highlighting style when re-editing it.

Tell us your environment

nacos server version: v1.0.0

@nacos-bot nacos-bot added the area/Nacos console Related to Nacos consle label Aug 6, 2019
@spawpaw
Copy link
Author

spawpaw commented Aug 22, 2019

The latest version's edit page have solve this problem, but the details page still have this problem:
image

I dont know why editing page is using inputbox to show those configs(and the input box is not editable), but, anyway, the configs should be hilighted correctly as the editing page do.

@nkorange
Copy link
Collaborator

nkorange commented Sep 6, 2019

Welcome to contribute to it.

KomachiSion pushed a commit that referenced this issue Aug 12, 2020
…age (#3555)

* Fix content hightlight does not work in config detail page

* Solve conflict
@KomachiSion KomachiSion added this to the 1.4.0 milestone Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants