# Converting strings in Wikilinks with the Tab key on IME is not working well

**URL:** <https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150>\
**Category:** Bug graveyard\
**Tags:** macos, repro, cjk, keyboard-input, internal-links\
**Created:** [April 25, 2021, 10:05am UTC](https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150 "2021-04-25T10:05:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PADAone](https://forum.obsidian.md/user_avatar/forum.obsidian.md/padaone/32/47964_2.png) [@PADAone](https://forum.obsidian.md/u/PADAone)\
**Post date:** [April 25, 2021, 10:05am UTC](https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150/1 "2021-04-25T10:05:12Z")

</div>

### Steps to reproduce

Japanese converting process of strings has two ways with IME. Space key or Tab key.  
Space key simply converts Hiragana into Kanji.  
Tab key converts Hiragana into a predicated sentence which includes Kanji converting, and we commonly use this function. (I think we tend to use the Tab key much more than the Space key when quick typing)

Converting with the Tab key break `]]` and a Japanese sentence itself in wikilinks, while the Space key doesn’t break them. I didn’t notice this because converting with the Tab key works well for the first time. Entering the Tab key several times break them. ↓

![tabbroken](https://forum.obsidian.md/uploads/default/original/2X/8/8776e0657295f9ca57e63e54323d11ef1680bc8f.gif)

This bug leads to break a pipe and a sentence prepared beforehand. ↓

![codemirror-tabconflict_pipe](https://forum.obsidian.md/uploads/default/original/2X/b/bbe730927dc4ea588552e2a9b97985cc0fa3c0a9.gif)

### Expected result

[[これはテストです]]  
[[これはテストです|テスト]]

### Actual result

[[これはテストです ← wikilink is broken  
[[これこれはテストです ← wikilink & sentence are broken  
(correct sentence: これはテストです → broken sentence: これこれはテストです)  
[[これはテストです ← wikilink & pipe are broken

### Environment

OS : macOS catalina (10.15.7)  
IME : both Google Japanese IME and MacOS’s default IME  
Obsidian : insider v0.12.1 (installer v0.11.9)

* * *

### Additional information

> [@IME Keyboard input collision - (Enter to Autocomplete vs Enter to Convert characters with IME)](https://forum.obsidian.md/t/ime-keyboard-input-collision-enter-to-autocomplete-vs-enter-to-convert-characters-with-ime/10190):
>
> I posted this feature request the day before yesterday Apart from the feature request, there is a problem about the keyboard input event with IME. Developers may have already known this. “Enter for Autocomplete” and “Enter for Converting characters with IME” collide. like this [JapaneseEnterEvent] As I explained on the feature request post above link, there is the same problem in Command palette. [EnableEnglishCommands] so far, we mostly do like this or struggle with autocomplete using m…

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [April 25, 2021, 2:17pm UTC](https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150/2 "2021-04-25T14:17:44Z")

</div>

have you always had this problem or is it recent?

---

<div class="post-metadata">

**Author:** ![PADAone](https://forum.obsidian.md/user_avatar/forum.obsidian.md/padaone/32/47964_2.png) [@PADAone](https://forum.obsidian.md/u/PADAone)\
**Post date:** [April 25, 2021, 2:26pm UTC](https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150/3 "2021-04-25T14:26:26Z")

</div>

I recently noticed this problem.

---

<div class="post-metadata">

**Author:** ![PADAone](https://forum.obsidian.md/user_avatar/forum.obsidian.md/padaone/32/47964_2.png) [@PADAone](https://forum.obsidian.md/u/PADAone)\
**Post date:** [July 30, 2021, 1:23pm UTC](https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150/4 "2021-07-30T13:23:38Z")

</div>

I confirmed Windows version works well and does not have this issue.  
Only macOS’s version has this problem.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [May 26, 2022, 1:35pm UTC](https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150/5 "2022-05-26T13:35:58Z")

</div>

is this happening in the new editor?

---

<div class="post-metadata">

**Author:** ![PADAone](https://forum.obsidian.md/user_avatar/forum.obsidian.md/padaone/32/47964_2.png) [@PADAone](https://forum.obsidian.md/u/PADAone)\
**Post date:** [July 1, 2022, 8:36am UTC](https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150/6 "2022-07-01T08:36:41Z")

</div>

Sorry for being late to reply. I think three is no problem now.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [October 13, 2022, 2:53pm UTC](https://forum.obsidian.md/t/converting-strings-in-wikilinks-with-the-tab-key-on-ime-is-not-working-well/17150/7 "2022-10-13T14:53:36Z")

</div>

Archived on October 13, 2022, 2:53pm UTC


