Erimus-Koo / theme_typora_docsify

A theme that present SAME STYLE in Typora and Docsify.
45 stars 3 forks source link

Typing Cursor invisible when editing math #1

Open wfeng9258 opened 2 years ago

wfeng9258 commented 2 years ago

Hello,

It seems there is a bug in the setup of typing cursor.

For example, the cursor does not show up in the following section between the $$'s.

$$ a = b $$

Thanks,

Wei

Erimus-Koo commented 2 years ago

我不太用公式,所以没改过这部分。 我机器上测试也没问题,所以可能需要你在你机器上看一下调试信息。

I've test it, it looks fine in my Typora. test_formula

Actually, I do rare use the formula, and I haven't modified this part.

Is there some details I've missed? Or some screenshot you can provide? e.g. OS, Typora version, or console (Windows: shift+F11, Mac: setting>open debug, then right click "check element").

wfeng9258 commented 2 years ago

Hello, Erimus-Koo

The attached video shows the issue.

I can see the mouse cursor when typing text. However, the cursor is not visible when I input math (the section between $$).

I like your work on the theme.

Thanks,

Wei

From: Erimus-Koo @.> Sent: Thursday, August 25, 2022 6:32 AM To: Erimus-Koo/theme_typora_docsify @.> Cc: wfeng9258 @.>; Author @.> Subject: Re: [Erimus-Koo/theme_typora_docsify] Typing Cursor invisible when editing math (Issue #1)

我不太用公式,所以没改过这部分。 我机器上测试也没问题,所以可能需要你在你机器上看一下调试信息。

I've test it, it looks fine in my Typora. [test_formula]https://user-images.githubusercontent.com/17139670/186640230-bb3b3d29-6fc5-4588-9185-40cf16d3db17.gif

Actually, I do rare use the formula, and I haven't modified this part.

Is there some details I've missed? Or some screenshot you can provide? e.g. OS, Typora version, or console (Windows: shift+F11, Mac: setting>open debug, then right click "check element").

— Reply to this email directly, view it on GitHubhttps://github.com/Erimus-Koo/theme_typora_docsify/issues/1#issuecomment-1227079577, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARMTVQX3A4E3VS5RMJ6KAE3V25DTNANCNFSM57QYBWKQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

Erimus-Koo commented 2 years ago

Has you directly append an attachment in email? Maybe it not appears in issue.

Erimus-Koo commented 2 years ago

And it will be helpful if you can open the console window, have a try? Write Custom Theme for Typora, read "Test in Typora" at the bottom.

wfeng9258 commented 2 years ago

I am not sure why you can see it.

I think you need to change the cursor’s color to a distinguishable one, such as “black.”

Thanks,

Wei

From: Erimus-Koo @.> Sent: Thursday, August 25, 2022 12:35 PM To: Erimus-Koo/theme_typora_docsify @.> Cc: wfeng9258 @.>; Author @.> Subject: Re: [Erimus-Koo/theme_typora_docsify] Typing Cursor invisible when editing math (Issue #1)

And it will be helpful if you can open the console window, have a try? Write Custom Theme for Typorahttps://theme.typora.io/doc/Write-Custom-Theme/, read "Test in Typora" at the bottom.

— Reply to this email directly, view it on GitHubhttps://github.com/Erimus-Koo/theme_typora_docsify/issues/1#issuecomment-1227506136, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARMTVQQ5D4AEMQ3CZE4ZITDV26OBVANCNFSM57QYBWKQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

wfeng9258 commented 2 years ago

Here is the info from the Typora.

When the cursor is inside those inline elements, the focused one will be wrapped by md-expand class, then .md-meta and .md-content will become visible. So, apply styles to .md-meta and .md-content if you want to modify the style of those meta syntax.

In the document, we need to apply a change on .md-content or .md-meta, so that the cursor is visible.

But I don’t know the syntax.

Thanks,

Wei

From: Erimus-Koo @.> Sent: Thursday, August 25, 2022 12:35 PM To: Erimus-Koo/theme_typora_docsify @.> Cc: wfeng9258 @.>; Author @.> Subject: Re: [Erimus-Koo/theme_typora_docsify] Typing Cursor invisible when editing math (Issue #1)

And it will be helpful if you can open the console window, have a try? Write Custom Theme for Typorahttps://theme.typora.io/doc/Write-Custom-Theme/, read "Test in Typora" at the bottom.

— Reply to this email directly, view it on GitHubhttps://github.com/Erimus-Koo/theme_typora_docsify/issues/1#issuecomment-1227506136, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARMTVQQ5D4AEMQ3CZE4ZITDV26OBVANCNFSM57QYBWKQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

Erimus-Koo commented 2 years ago

I can't modify it until I know the reason. Otherwise, it may cause unexpected problems.

In Typora, except the theme.css, there is a base-control.css. The purple color of the math-text is defined in it. image

And .md-meta is the wrapper of the $$ mark.

You can try to reinstall Typora to reset the base-control.css, hope it works.

Erimus-Koo commented 2 years ago

I've tested on my Mac, it still works fine. @wfeng9258 try to reinstall Typora?

wfeng9258 commented 1 year ago

Did you see my attached video of a recorded screen in my last email?

Thanks,

Wei

From: Erimus-Koo @.> Sent: Thursday, August 25, 2022 12:30 PM To: Erimus-Koo/theme_typora_docsify @.> Cc: wfeng9258 @.>; Author @.> Subject: Re: [Erimus-Koo/theme_typora_docsify] Typing Cursor invisible when editing math (Issue #1)

Has you directly append an attachment in email? Maybe it not appears in issue.

— Reply to this email directly, view it on GitHubhttps://github.com/Erimus-Koo/theme_typora_docsify/issues/1#issuecomment-1227501720, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARMTVQUTXP5MMKL76FWBISTV26NRLANCNFSM57QYBWKQ. You are receiving this because you authored the thread.Message ID: @.**@.>>

Erimus-Koo commented 1 year ago

你通过邮件客户端回复,提交的附件好像是看不到的。

而且即便看到你的视频,也很有可能无法找到你的问题,需要具体调试,不能光靠视频来猜原因。

另外如果这个现象只发生在你的电脑上,那还是需要你从自己的环境上找原因了。

wfeng9258 commented 1 year ago

Thanks for your help. I will take a look at my computer setups.

Best,

Wei

From: Erimus-Koo @.> Sent: Tuesday, October 11, 2022 5:10 AM To: Erimus-Koo/theme_typora_docsify @.> Cc: wfeng9258 @.>; Mention @.> Subject: Re: [Erimus-Koo/theme_typora_docsify] Typing Cursor invisible when editing math (Issue #1)

你通过邮件客户端回复,提交的附件好像是看不到的。

而且即便看到你的视频,也很有可能无法找到你的问题,需要具体调试,不能光靠视频来猜原因。

另外如果这个现象只发生在你的电脑上,那还是需要你从自己的环境上找原因了。

— Reply to this email directly, view it on GitHubhttps://github.com/Erimus-Koo/theme_typora_docsify/issues/1#issuecomment-1274366899, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARMTVQRZKPUW75F57HNXRZ3WCUVHVANCNFSM57QYBWKQ. You are receiving this because you were mentioned.Message ID: @.**@.>>