Auto replace does not function correctly
Issue
Auto replace does not function correctly
Versions
- Obsidian v1.8.9
- obsidian-table-checkboxes release v3.0.0
Expected behavior
Markdown syntax checkbox - [ ] is replaced with html syntax <input type="checkbox" unchecked id="6c4569"> once typed in a table
Actual behavior
Only the brackets of the markdown checkbox are replaced, leaving a dash at the beginning.
ie: - [ ] is replaced with -<input type="checkbox" unchecked id="6c4569">
Steps to reproduce
Type the markdown checkbox as instructed by the plugin. The leading dash is not replaced.
Additional information
Sort of a related but separate issue, the replace function does not trigger if "auto-pair brackets" is enabled; when the close bracket is auto filled upon typing the open bracket, it must be deleted and retyped to trigger the html syntax replacement (but the leading dash is left over as described above).
Ah damn, I really thought I finally tackled all the auto-replacement issues...
I can't recreate it on my end. Can you tell me what OS & input language you're on? The more specific the better.
it doesn't work for me either. i'm on macos (latest). obsidian (latest). checkboxes inside table just keep being "- [ ]" instead of checkbox.
@webenadam What input source(s) are you using? This is essentially your keyboard language. You can find it under System Settings -> Keyboard
Thanks @0x-DLN i use english and hebrew, but on both it doesn't work.
For me, when I use the "convert all checkboxes in current file to HTML ceckboxes" command, what happens is that the ceckboxes gets replaced by the following text: !!PLACEHOLDER_TO_BE_REPLACED_WITH_CHECKBOX!!
For me, when I use the "convert all checkboxes in current file to HTML ceckboxes" command, what happens is that the ceckboxes gets replaced by the following text: !!PLACEHOLDER_TO_BE_REPLACED_WITH_CHECKBOX!!
Same with me
Had a similar problem (!!PLACEHOLDER_TO_BE_REPLACED_WITH_CHECKBOX!!). Do you have a space between the square brackets? Try it in "source mode" view.