Skip to content

[WIP] Add examples folder with demo files#25

Draft
Copilot wants to merge 1 commit into
masterfrom
copilot/add-examples-folder-for-demos
Draft

[WIP] Add examples folder with demo files#25
Copilot wants to merge 1 commit into
masterfrom
copilot/add-examples-folder-for-demos

Conversation

Copy link
Copy Markdown

Copilot AI commented May 13, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Provide files for the examples</issue_title>
<issue_description>Can I suggest to provide some demos in a 'examples' folder? I had some issues while testing.

The getContents example didn't work for me:

$('#examplePadBasic').pad({'getContents':'exampleGetContents'});

I tried to hide the controls but that didn't work:

$('#examplePadBasic').pad({
  'padId':'test',
  'host'             : 'http://beta.etherpad.org', // the host and port of the Etherpad instance, by default the foundation will host your pads for you
  'baseUrl'          : '/p/', // The base URL of the pads
  'showControls'     : false, // If you want to show controls IE bold, italic, etc.
});    

</issue_description>

Comments on the Issue (you are @copilot in this section)

@JohnMcLear showControls is broken. I have fixed this upstream and I'm waiting on tests/merges to get it done.

re getContents, an example would be useful, please do provide some files for examples :) Thanks!

@JohnMcLear create/use a plugin. @JohnMcLear https://static.etherpad.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide files for the examples

2 participants