question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature request] stickyToolbar optionally relative to an optional container

See original GitHub issue

At 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:

Would it be possible?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
madarchecommented, Jun 26, 2020

@JiHong88 I confirm, if a bit late, that the toolbarContainer option is great! Thanks a lot!

1reaction
madarchecommented, Apr 22, 2020

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 with DIVs, etc.).

The stickyToolbarContainer option could be set with the id of a containter (a DIV, etc.). The stickyToolbarContainer 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found