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

Creation of collapsible section's #1504

Closed
FrauleinGela opened this issue Feb 4, 2019 · 3 comments
Closed

Creation of collapsible section's #1504

FrauleinGela opened this issue Feb 4, 2019 · 3 comments
Labels
resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). status:discussion type:feature This issue reports a feature request (an idea for a new functionality or a missing option).

Comments

@FrauleinGela
Copy link

feature request : Creation of Collapse elements

🆕 Feature request

Creation of collapsible section's to create content that is visible by clicking on its header ##

📃 Other details that might be useful

it would be good if you can add other elements, such as bold, tables, images to that content
Here, an example on bootstrap: https://getbootstrap.com/docs/4.1/components/collapse/
By the way, you guys have done a good job. thanks.

@oleq oleq added status:discussion type:feature This issue reports a feature request (an idea for a new functionality or a missing option). labels Feb 5, 2019
@oleq
Copy link
Member

oleq commented Feb 5, 2019

Thanks! We're doing our best 😊

As for the request, I think managing the layout (collapsibles) is beyond the default scope of the editor. In theory you could develop a widget that somehow provides 2 spaces (nested editables) for the buttons and for the content but I think it would be much easier if you handled the accordion layout on the web–page template–side and activate CKEditor 5 on the area that displays the "foldable" content only.

CKEditor 5 is a content editor not a template editor so using it for template tasks is a challenge. That being said, we're not considering this kind of feature in our roadmap at this moment.

@oleq oleq closed this as completed Feb 5, 2019
@oleq oleq added the resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). label Feb 5, 2019
@Teslafly
Copy link

Now that easyredmine is using ckeditor5, not having this is a huge regression where we used to have the {{collapse}} macro.

It is even accessible in markdown with

# A collapsible section with markdown
<details>
  <summary>Click to expand!</summary>
  
  collapsed text
</details>

@meichthys
Copy link

Also relevant:
#11068
#8457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:invalid This issue is invalid (e.g. reports a non-existent bug or a by-design behavior). status:discussion type:feature This issue reports a feature request (an idea for a new functionality or a missing option).
Projects
None yet
Development

No branches or pull requests

4 participants