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

Live Preview support? #95

Closed
sinewave opened this issue Apr 30, 2022 · 13 comments · Fixed by #105
Closed

Live Preview support? #95

sinewave opened this issue Apr 30, 2022 · 13 comments · Fixed by #105
Labels
enhancement New feature or request

Comments

@sinewave
Copy link

Soo excited about the progress on this plugin and where it’s headed.

Wanted to ask if live preview/edit support is on the roadmap for a future release?

@sinewave sinewave added the enhancement New feature or request label Apr 30, 2022
@decaf-dev
Copy link
Owner

@sinewave Hi sinewave. Thank you for your feature request. What functionality are you expecting? Can you give me some specific examples?

decaf-dev added a commit that referenced this issue Apr 30, 2022
@decaf-dev decaf-dev mentioned this issue Apr 30, 2022
@decaf-dev decaf-dev reopened this May 1, 2022
@Ampa
Copy link

Ampa commented May 1, 2022

Came to ask the same question, though I am not sure that I've really thought it through...

It is a little awkward to have to create the table in Live Preview mode, and then switch to Reading mode in order to use the Notion-like functionality.

I work in Live Preview 99.9% of the time, so ideally all features would be accessible in Live Preview.

However... This may not be possible, since clicking into the table would cause Live Preview to show the underlying markdown, removing the effects of the plugin?

@Friedolito
Copy link

Would love to use it in live view!
Amazing plug-in! Thanks!

@sinewave
Copy link
Author

sinewave commented May 1, 2022

Hi sinewave. Thank you for your feature request. What functionality are you expecting? Can you give me some specific examples?

Similar to what others have said I'm in edit mode 99.99% of the time. Not sure what's technically possible but ideally I'd love to be able to do all the same things in reading mode while in edit mode 😄

@ghost
Copy link

ghost commented May 2, 2022

However... This may not be possible, since clicking into the table would cause Live Preview to show the underlying markdown, removing the effects of the plugin?

There are already plugins where clicking on them doesn't reveal the markdown iirc, so this shouldn't be a problem.

@decaf-dev
Copy link
Owner

@isle9 Do you have any specific plugins that I could look into? I do not currently know how to do live preview support. I was thinking I might have to make a feature request on the Obsidian forums. But if you have some references of plugins where people were able to find a way around this, that would be very helpful!

@Quorafind
Copy link
Contributor

I found when edit and input Chinese word on the edit mode(Live Preview), the character inputed will be duplicated.

aaa5cfcba8a22a0ba5ef751026f3ce61.mp4

@decaf-dev
Copy link
Owner

@Quorafind Hi Quorafind. If this issue is still occurring for you, could you open a bug issue. Thanks.

@decaf-dev
Copy link
Owner

@sinewave I will be looking into this this week. I'm trying to get a few other things implemented first. I think I should be able to implement something though. I found another plugin repository that seems promising for what I want to do.

@MugenLee
Copy link

@isle9你有任何我可以研究的特定插件吗?我目前不知道如何进行实时预览支持。我在想我可能不得不在 Obsidian 论坛上提出功能请求。但是,如果您有一些插件参考,人们能够找到解决此问题的方法,那将非常有帮助!

@isle9 Do you have any specific plugins that I could look into? I do not currently know how to do live preview support. I was thinking I might have to make a feature request on the Obsidian forums. But if you have some references of plugins where people were able to find a way around this, that would be very helpful!

Take a look at this plugin if you need:
https://github.com/windily-cloud/obsidian-AGtable

This plugin can be implemented in the live preview mode, using a table editing mode similar to Typora, for editing

this is exactly what i need
Because in "notion-like-tables", if the table is edited in the live preview mode, the code will be edited directly, and UI interface editing cannot be realized

And most users are currently using it in live preview mode

So if you can use "notion-like-tables" in live preview mode

I think this will be a very useful update

@trey-wallis
good luck

@decaf-dev
Copy link
Owner

@MugenLee This was really helpful! I'm pushing out a basic update in a few minutes

@decaf-dev
Copy link
Owner

@MugenLee @Ampa @Quorafind @FriedrichStein @Blacksuan19 @dknight212 @imeed166. Basic live preview added in 3.5.0 :)

@decaf-dev
Copy link
Owner

For further requests for live preview, please open a new feature request. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants