cm-typewriter-scroll-obsidian icon indicating copy to clipboard operation
cm-typewriter-scroll-obsidian copied to clipboard

Conflict with Obsidian's new Table View

Open acook opened this issue 1 year ago • 9 comments
trafficstars

Causes tables to expand wildly in every direction and makes them unusable in the pre-release versions, and probably will continue to when it becomes official.

It does seem like development has discontinued but this plugin has been enabled pretty much from day 1 that I started using Obsidian. So either way, thanks for almost a year of making my Obsidian experience better!

acook avatar Dec 18 '23 03:12 acook

I can confirm this bug in Obsidian v1.5.3 macOS. Hopefully somebody can look into it if developer isn’t maintaining! I agree it’s a game-changer plug-in! Thank you deathau!

ces3001 avatar Dec 27 '23 18:12 ces3001

There's another plugin called "Typewriter Mode" and it doesn't destroy tables, but it does jump around weirdly in tables. So it doesn't really solve the problem either, but it's worth trying out if you just do some minor table editing.

acook avatar Dec 27 '23 19:12 acook

Also confirm that this plugin is an issue with the new tables in Obsidian

mouawadma avatar Jan 12 '24 18:01 mouawadma

Here's a quick fix:

table td .cm-content.cm-lineWrapping {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

Create a file called tw-table-fix.css and add add it to the folder ".obsidian\snippets" inside your vault and activate the script under Settings > Appearance (scroll to the bottom of the settings page to do so)

rorar avatar Jan 15 '24 16:01 rorar

Thanks for the quick fix!

For me it fixed only the table body (Obsidian v1.5.10). In order to make it work in the header, you may also match the th :

table th .cm-content.cm-lineWrapping,
table td .cm-content.cm-lineWrapping {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

ursa-minor-13 avatar Mar 12 '24 12:03 ursa-minor-13

Here's a quick fix:

table td .cm-content.cm-lineWrapping {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

Create a file called tw-table-fix.css and add add it to the folder ".obsidian\snippets" inside your vault and activate the script under Settings > Appearance (scroll to the bottom of the settings page to do so)

not very exactly

this one can fix both thead an tbody

table tr .cm-content.cm-lineWrapping {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

luxuxl avatar Sep 13 '24 05:09 luxuxl

This fixes the expanding problem, but not tables often being stuck to the top of the screen for me.

acook avatar Sep 26 '24 10:09 acook