Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cannot move line up and down #235

Closed
Quorafind opened this issue Dec 27, 2021 · 21 comments
Closed

[BUG] Cannot move line up and down #235

Quorafind opened this issue Dec 27, 2021 · 21 comments
Labels

Comments

@Quorafind
Copy link

@Quorafind Quorafind commented Dec 27, 2021

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

Try markdown here:

- [You should use forums rather than Slack/Discord to support developer community | Dan Moore!](https://www.mooreds.com/wordpress/archives/3451) #想法 
    - I run forums, I write forum software, I am pro forums.However I'd also add that it's important how to engage with a forum.
    My top tips : ( Error cause here )
    1. Financially fund a forum, but have the enthusiasts run it so it is arms length but official. If you run it, spin it up as a distinct thing so that future independence is possible and easy.
    2. Bless it fully, point everything you have at it and have your support staff answer questions, and allow your engineers to go deep on details where they can. Transparency wins, if you can't do it don't run a forum.
  1. If the list contain text than indent and without no - or number.
  2. It will cause the unusable result.
  3. See error

Expected behavior
Can move list and sublist up and down.

Desktop (please complete the following information):

  • version 0.2.0
@Quorafind Quorafind added the bug label Dec 27, 2021
@ajmz
Copy link

@ajmz ajmz commented Dec 27, 2021

Yes, v2.0.0, Obsidian 0.13 Live Preview, still does not support Move list and sublists up/down.

@vslinko
Copy link
Owner

@vslinko vslinko commented Dec 27, 2021

@Quorafind thank you for your feedback!
@ajmz plugin works, but there is a problem with markdown support.

Outliner plugin doesn't support the situation when the note line contains as many spaces as the list item. This is the reason why moving lines doesn't work.

As a workaround, you can add 4 spaces before the note line.

Screen Recording 2021-12-27 at 11 34 43 mov

@ajmz
Copy link

@ajmz ajmz commented Dec 27, 2021

Outliner plugin doesn't support the situation when the note line contains as many spaces as the list item. This is the reason why moving lines doesn't work.

Thanks.
I did what you said, but the problem remains, and not only the note line but also the line with "-".

@vslinko
Copy link
Owner

@vslinko vslinko commented Dec 27, 2021

Hmm.

@ajmz Please enable "Debug mode" in the plugin settings, open Devtools by pressing CommandOptionJ or ControlShiftJ, put your cursor on a header, press Cmd., copy output from Devtools here.

It also would be helpful if you could make a screen recording.

@freezoc
Copy link

@freezoc freezoc commented Dec 28, 2021

I have the same issue, too.
Outliner v2.0.5, Obsidian v0.13.14. Obsidian vault on both Windows and Mac, sync with iCloud.
Works perfect on Mac, but functionality and hotkey setup on Windows is gone.
1640654835(1)

@vslinko
Copy link
Owner

@vslinko vslinko commented Dec 28, 2021

@freezoc could you please check the Outliner version on Windows machine? And ensure that “Use legacy editor” is disabled. Or try to reinstall the plug-in on Windows machine.

@freezoc
Copy link

@freezoc freezoc commented Dec 28, 2021

@vslinko Outliner version is the same(v2.0.5) on both Windows and Mac machines.
I've also tried reinstalling Outliner through the obsidian community and switching the legacy editor on and off. Still can't solve the problem.

@majicfanNew
Copy link

@majicfanNew majicfanNew commented Dec 30, 2021

我也有同样的问题。大纲 v2.0.5, 黑曜石 v0.13.14.Windows和Mac上的黑曜石保险库,与iCloud同步。在Mac上工作完美,但Windows上的功能和热键设置已经消失。 1640654835(1)

I have the same problem with you.i can not find the hotkeys of Outliner in hotkeys panel.

@majicfanNew
Copy link

@majicfanNew majicfanNew commented Dec 30, 2021

@freezoc If you find out what the reason is, could you please let me know? I am also troubled by this problem. thank you

@majicfanNew
Copy link

@majicfanNew majicfanNew commented Dec 30, 2021

debug mode

app.js:1 Obsidian Developer Console
app.js:1 Uncaught Error: Could not call remote method 'setSpellCheckerLanguages'. Check that the method signature is correct. Underlying error: Invalid language code provided: "zh-CN" is not a valid language code
Underlying stack: Error: Invalid language code provided: "zh-CN" is not a valid language code
at electron/js2c/browser_init.js:221:8665
at IpcMainImpl. (electron/js2c/browser_init.js:221:5052)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:10038)
at Object.emit (events.js:315:20)

at electron/js2c/browser_init.js:221:8693
at IpcMainImpl.<anonymous> (electron/js2c/browser_init.js:221:5052)
at IpcMainImpl.emit (events.js:315:20)
at Object.<anonymous> (electron/js2c/browser_init.js:161:10038)
at Object.emit (events.js:315:20)

ObsidianOutlinerPlugin.ts:35 Loading obsidian-outliner
tslib.es6.js:74 Uncaught (in promise) Error: Could not call remote method 'setSpellCheckerLanguages'. Check that the method signature is correct. Underlying error: Invalid language code provided: "zh-CN" is not a valid language code
Underlying stack: Error: Invalid language code provided: "zh-CN" is not a valid language code
at electron/js2c/browser_init.js:221:8665
at IpcMainImpl. (electron/js2c/browser_init.js:221:5052)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:10038)
at Object.emit (events.js:315:20)

at electron/js2c/browser_init.js:221:8693
at IpcMainImpl.<anonymous> (electron/js2c/browser_init.js:221:5052)
at IpcMainImpl.emit (events.js:315:20)
at Object.<anonymous> (electron/js2c/browser_init.js:161:10038)
at Object.emit (events.js:315:20)

ObsidianZoomPlugin.ts:27 Loading obsidian-zoom
tslib.es6.js:74 Uncaught (in promise) Error: Could not call remote method 'setSpellCheckerLanguages'. Check that the method signature is correct. Underlying error: Invalid language code provided: "zh-CN" is not a valid language code
Underlying stack: Error: Invalid language code provided: "zh-CN" is not a valid language code
at electron/js2c/browser_init.js:221:8665
at IpcMainImpl. (electron/js2c/browser_init.js:221:5052)
at IpcMainImpl.emit (events.js:315:20)
at Object. (electron/js2c/browser_init.js:161:10038)
at Object.emit (events.js:315:20)

at electron/js2c/browser_init.js:221:8693
at IpcMainImpl.<anonymous> (electron/js2c/browser_init.js:221:5052)
at IpcMainImpl.emit (events.js:315:20)
at Object.<anonymous> (electron/js2c/browser_init.js:161:10038)
at Object.emit (events.js:315:20)

@majicfanNew
Copy link

@majicfanNew majicfanNew commented Dec 30, 2021

i fixed the problem,you need turn off the spellcheck

@majicfanNew
Copy link

@majicfanNew majicfanNew commented Dec 30, 2021

@ajmz
Copy link

@ajmz ajmz commented Dec 30, 2021

i fixed the problem,you need turn off the spellcheck

I did it, but the issue remains.

@gityocode
Copy link

@gityocode gityocode commented Dec 31, 2021

@vslinko I have this issue as well. Have attempted the fixes tried by @freezoc and @ajmz but no success.

@xban12
Copy link

@xban12 xban12 commented Jan 1, 2022

i fixed the problem,you need turn off the spellcheck

I have the same problem with you and I also tryed diabling the spell checking, and the issue remain.
@vslinko

@ajmz
Copy link

@ajmz ajmz commented Jan 6, 2022

Obsidian Release v0.13.19, the issue is solved.

@cvjxendra
Copy link

@cvjxendra cvjxendra commented Jan 6, 2022

For me, the issue remains. Obsidian v0.13.19, Outliner 2.0.5

The spellcheck is always disabled.

Enabling outliner's debug mode, I got this:

parseList Unable to parse list: expected indent "T", got "S"

@matmilbury
Copy link

@matmilbury matmilbury commented Jan 7, 2022

For me the 'Use legacy editor' option fixed the issue. For now 😬

@cvjxendra
Copy link

@cvjxendra cvjxendra commented Jan 7, 2022

Debug mode give this error too:

parseList Unable to parse list: expected some indent, got no indent

@cvjxendra
Copy link

@cvjxendra cvjxendra commented Jan 10, 2022

I think that I found a minimum reproducible outline with this bug. Please try open and move lines here:

202201102019 bug outliner.md
.

vslinko added a commit that referenced this issue Jan 15, 2022
@vslinko
Copy link
Owner

@vslinko vslinko commented Jan 15, 2022

@cvjxendra your use case should be fixed in https://github.com/vslinko/obsidian-outliner/releases/tag/2.0.6

But your use case is different, and it is probably not related to other user problems.
I am closing this issue because it contains different problems, and some of them have already fixed.
If you still have a problem, please create a new issue with a detailed description.

@vslinko vslinko closed this Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
9 participants