zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
3.95k stars 212 forks source link

BUG: Sometimes a blank key will cause a line break in the text. #1883

Open kin30528 opened 1 month ago

kin30528 commented 1 month ago

Your environment Simple Vault: test.zip Excalidraw 2.29, Obsidian v1.6.7

Describe the bug hi zsviczian, I found that if there is a space in a sentence, it will often lead to the text after the space to be replaced by a new line, I guess it may have something to do with the incompatibility of the Chinese writing language with the English rules, as far as I know, a Chinese word will be regarded by the system as a letter of the English, which leads to the Chinese article to follow the rules of the English, and encountered the situation that the Chinese sentence is forced to break the line for a blank key. 圖片

This is a long time for me to cause trouble, I hope you can help me solve this problem, thank you for making this best plugin!

Expected behavior Expected behavior Expected behavior_1

zsviczian commented 1 month ago

can you reproduce the same on excalidraw.com? if yes, we will need to open an issue as this will need to be solved in the excalidraw package not the plugin.

kin30528 commented 1 month ago

can you reproduce the same on excalidraw.com? if yes, we will need to open an issue as this will need to be solved in the excalidraw package not the plugin.

yes, its a same bug 圖片

zsviczian commented 1 month ago

In that case, please open an issue for this here: https://github.com/excalidraw/excalidraw/issues

kin30528 commented 1 month ago

In that case, please open an issue for this here: https://github.com/excalidraw/excalidraw/issues

OK, https://github.com/excalidraw/excalidraw/issues/8258