Skip to content

Hide menu_right on ReadOnly pads #5182

@jj-DC

Description

@jj-DC

I'm rather perplexed that etherpad doesn't appear to have an iframe parameter that hides the unordered list toolbar which houses the menu_right options (import/export, timeslide, settings, share & users), particularly for read-only pads.

If you want pads to be read-only, then you're not going to want your viewers to have any control over content. It's effectively a whiteboard. You type stuff in to the source pad, and the iframe delivers those updates to the pad without the user needing to see anything other than the text on screen. If you have users on multiple pages on a site, and you are using a read-only pad as an announcement channel, then you just want the message to appear in the page, in real time.

Of course I know I could just turn off the toolbar options in the json settings. But that would be stupid. Because I still want to use those features on read-write pads. Just not on read-only pads.

Am I missing something? I can use the showControls switch in the iframe parameters which will remove the editbar. Is there a switch that should remove the right toolbar, too? If it doesn't exist, could it be built? Perhaps as part of the Read-only options?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions