codemirror-ui icon indicating copy to clipboard operation
codemirror-ui copied to clipboard

Show how to add custom buttons

Open nichtich opened this issue 13 years ago • 1 comments

Right now all buttons used in the example are hard-coded. In practice you want some custom buttons and input fields in your application and some buttons like "'about' make no sense for other applications but the demo page. The documentation should show how you can add custom buttons, exemplified by the "about" button.

nichtich avatar May 13 '11 12:05 nichtich

Hey Jakob, thanks for opening this issue. It's going to take a bit of refactoring to get everything to a state where this is possible, but it definitely needs to be done. It'll probably be at least a few weeks before I have a chance to get into it, but I'd be more than happy to merge some changes in the mean time.

Thanks again for getting involved.

Jeremy

jagthedrummer avatar May 30 '11 03:05 jagthedrummer