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

Option for resizingBar to be displayed but fixed at bottom of DIV? #883

Closed
500Foods opened this issue Oct 7, 2021 · 4 comments
Closed
Labels
Milestone

Comments

@500Foods
Copy link

500Foods commented Oct 7, 2021

Is your feature request related to a problem? Please describe.
I've got a page with SunEditor where I want it to fill the area of a div, with the toolbar fixed at the very top and ideally the resizing bar fixed at the bottom so I can see the showPathLabel and charCounterLabel, but I don't want the resizing bar to be used for resizing. I'd also like the SunEditor to fill the div completely and show scrollbars only in the editor portion and scroll only the editor portion, not the toolbar or the resizing bar.

Describe the solution you'd like
An option for 'resizingBarPosition': 'bottom' or something like that, or perhaps set it up like the toolbarContainer in its own div?

Describe alternatives you've considered
I've made good use of the toolbarContainer to put that in a div and the editor in a separate div, and used flex/flex-direction:column to get the toolbar and the editor to flow as desired, even resizing the toolbar as the dimensions of the overall div that the editor is in changes. All works great! But the resizingBar needs to be enabled to see the PathLabel and the CounterLabel, and it scrolls off the bottom of the page when the content of the editor is longer than the visible area or appears higher up the page when the content is short.

Additional context
Happy to supply more context if this isn't already clear.

@JiHong88
Copy link
Owner

I'll add resizingEnable and resizingBarContainer at the next version.

@JiHong88 JiHong88 added this to the 2.42.0 milestone Dec 11, 2021
@500Foods
Copy link
Author

Thanks!

JiHong88 added a commit that referenced this issue Dec 13, 2021
resizeEnable, resizingBarContainer
@JiHong88
Copy link
Owner

The 2.42.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

@500Foods
Copy link
Author

Works great, thanks!

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

No branches or pull requests

2 participants