-
Story
-
Resolution: Won't Do
-
Normal
-
None
-
None
-
False
-
-
False
-
No
There are some issues with syntax highlighting and other styles with the PF CodeEditor we're using due to stylesheets conflicting with the ones for the console's built in editor. Now that that editor is available in the plugin SDK we should switch to it.
Edit: Not sure if this is going to work. The `ResourceYAMLEditor` exposed by the SDK is intended for editing an existing resource, not editing unsaved YAML before creating a resource. It has save/cancel/reload buttons that don't make sense here and if you click Cancel it will weirdly redirect you to the project resource page. There seems to be no way to disable that behavior and render only the editor itself. This will either be a WONTFIX or we need to enhance the editor in the SDK, and either way it's not going to make Tech Preview.
Edit 2: There's a new development here, we may be getting the plain `YAMLEditor` in a future SDK version. Discussion here: https://coreos.slack.com/archives/C011BL0FEKZ/p1658168646396789
- links to