[Feature request] stickyToolbar optionally relative to an optional container
See original GitHub issueAt the moment the stickyToolbar
option sets the sticky toolbar relative to the top and this works great 😀
It would be a nice option to SunEditor if it could be possible to optionally set the sticky toolbar relative to another container.
Some other editors have this option:
- https://froala.com/wysiwyg-editor/docs/options/#toolbarContainer
- https://froala.com/wysiwyg-editor/docs/options/#toolbarSticky
Would it be possible?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Add support to qlayout for fixed page · Issue #10923 - GitHub
I want to be able to optionally add a page title bar that is sticky and doesn't scroll when the page content scrolls....
Read more >Make Quickfilter optionally available as simple searchbox ...
Make Quickfilter optionally available as simple searchbox widget+stickypin (with filter criteria in persistent popup panel &/or dropdown; toolbar customization).
Read more >Listener rules for your Application Load Balancer
On the navigation pane, under LOAD BALANCING, choose Load Balancers. ... (Optional, HTTPS listener) To authenticate users, choose Add action, ...
Read more >Snackbars - Material Design
A snackbar can contain a single action. "Dismiss" or "cancel" actions are optional. ... A banner displays a prominent message and related optional...
Read more >Templates - Azure Pipelines | Microsoft Learn
Templates let you define reusable content, logic, and parameters. Templates function in two ways. You can insert reusable content with a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JiHong88 I confirm, if a bit late, that the
toolbarContainer
option is great! Thanks a lot!Hello @JiHong88 😀 I should have given more details!
This feature request is a request about a new option, possibly named
stickyToolbarContainer
.This
stickyToolbarContainer
option would be useful for usecases when one wants to use SunEditor in dialog boxes (implement withDIV
s, etc.).The
stickyToolbarContainer
option could be set with theid
of a containter (aDIV
, etc.). ThestickyToolbarContainer
option would then position the sticky toolbar relative to the top of the given container (so possibly a dialog box), instead of relative to the top of the document body (which is the current behavior).And now about your question about whether the
stickyToolbarContainer
option should create the toolbar in a separate element from the editor: If I understand you well, it’s only a matter of implementation. It’s not a requirement for the usecases of displaying SunEditor in dialog boxes.