You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behaviour is implemented in the react package CodeMirrorEditor: "packages/react/src/core/CodeMirrorEditor/BinaryContent.tsx" which is triggered there:
"packages/react/src/core/CodeMirrorEditor/index.tsx"
Additional context
I think this is a good first issue:
we can detect images via mime-type
and then display them
Would a PR creating a new "ImageContent" component be accepted? Does display images create any sort of security risk?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Codemirror editor doesn't seem to support images
Describe the solution you'd like.
Display images within the code editor
Describe alternatives you've considered.
This behaviour is implemented in the react package CodeMirrorEditor: "packages/react/src/core/CodeMirrorEditor/BinaryContent.tsx" which is triggered there:
"packages/react/src/core/CodeMirrorEditor/index.tsx"
Additional context
I think this is a good first issue:
Would a PR creating a new "ImageContent" component be accepted? Does display images create any sort of security risk?
The text was updated successfully, but these errors were encountered: