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

(Feature request) Folding #2470

Open
s0h3ck opened this issue Dec 25, 2021 · 4 comments
Open

(Feature request) Folding #2470

s0h3ck opened this issue Dec 25, 2021 · 4 comments

Comments

@s0h3ck
Copy link

s0h3ck commented Dec 25, 2021

Describe feature

Hello, I would like to have the possibility to folder section of a document ;

To get started with this idea, let's start looking at two type of folding I would like to see implemented:

Type 1 : Header Folding
Explanation: The user creates an h1 h2 h3 h1 h2 h3 h1 item. When you folder the header h1. You only see h1-h1 h2 h3 h1. Hope that make sense. See vim folding to understand what I mean.

Type 2: Code block Folding
Explanation: Similar to Type 1, but only for the code block

Note: These two types of folding should be remembered when you close or switch from one document to another.

Additional Information

No response

@zadam
Copy link
Owner

zadam commented Dec 25, 2021

Hi, this would have to be implemented in CKEditor, but the corresponding request doesn't give much hope. This doesn't mean it's impossible, but the required effort would be higher.

@s0h3ck
Copy link
Author

s0h3ck commented Dec 28, 2021

Ha I see, curiosity, which part is this folding attached to (see image down below)?

2021-12-27_21-55

There is definitively an arrow that hide or unhide a note. Can that feature be moved into a note?

@zadam
Copy link
Owner

zadam commented Dec 28, 2021

No, this is in search. Having this in the CKEditor is a completely different thing, probably also much more difficult :-/

@zadam
Copy link
Owner

zadam commented Feb 23, 2023

Related #1894

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants