Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Reuse the existing CodeMirror 6 instance #1

Open
dbarenholz opened this issue Dec 19, 2021 · 2 comments
Open

Reuse the existing CodeMirror 6 instance #1

dbarenholz opened this issue Dec 19, 2021 · 2 comments
Assignees
Labels
WIP Currently working on this.

Comments

@dbarenholz
Copy link
Owner

dbarenholz commented Dec 19, 2021

With the new Obsidian we should have access to the CodeMirror 6 instance.

Perhaps there is a reliable way to reuse the existing instance, which makes it so that we don't have to create special views. This will likely result in better performance.

I don't have any experience with CM6 though...

@dbarenholz dbarenholz added help wanted Extra attention is needed question Further information is requested labels Dec 26, 2021
@dbarenholz dbarenholz changed the title Reuse the existing CodeMirror instance Reuse the existing CodeMirror 6 instance Dec 26, 2021
@pm64
Copy link

pm64 commented Aug 4, 2022

When this update is made, I hope we will still have the same raw text editing experience (NOT Markdown) obsidian-plaintext currently provides.

@dbarenholz dbarenholz removed the question Further information is requested label Aug 13, 2022
@dbarenholz dbarenholz added WIP Currently working on this. and removed help wanted Extra attention is needed labels Sep 3, 2022
@dbarenholz dbarenholz self-assigned this Sep 3, 2022
@dbarenholz
Copy link
Owner Author

When this update is made, I hope we will still have the same raw text editing experience (NOT Markdown) obsidian-plaintext currently provides.

It's still a completely new, custom View. I (and eventually through settings you too) have full control over editing experience. For now, after having made the switch (it's implemented), the experience is the same as before.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
WIP Currently working on this.
Projects
None yet
Development

No branches or pull requests

2 participants