component-playground icon indicating copy to clipboard operation
component-playground copied to clipboard

A component for rendering React components with editable source and live preview

Results 40 component-playground issues
Sort by recently updated
recently updated
newest added

Bumps [ini](https://github.com/isaacs/ini) from 1.3.4 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...

dependencies

Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.16.2 to 1.18.1. Release notes Sourced from http-proxy's releases. Long overdue maintenance Due to some great contributions I'm happy to announce a new release of http-proxy containing...

dependencies

Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.1 to 0.1.4. Changelog Sourced from websocket-extensions's changelog. 0.1.4 / 2020-06-02 Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by Robert McLaughlin) Change license from...

dependencies

migrating from legacy GH services on to GH apps on travis

So this PR is to have the classnames as hyphenated. We have few projects using the module, where we overridden the styles based on our requirement. ``` .previewArea, .playgroundToggleCodeLink {...

Enable passing configuration options for CodeMirror via props from `` while keeping the original defaults. Adds: `lineNumbers`, `smartIndent`, `lineWrapping`, `tabSize`.

![image](https://user-images.githubusercontent.com/32363657/47651914-e4fb1580-db5a-11e8-961d-2b914db2fff8.png) ![image](https://user-images.githubusercontent.com/32363657/47651882-cb59ce00-db5a-11e8-9080-69931d6de555.png)

New feature: `onUpdate` prop which gets called after each code update with the new code and an error object if one was caught during preview eval. Useful for the `ComponentPlayground`...

The current implementation of the playground allows users to execute arbitrary code in a given window which can lead to XSS attacks. We can prevent this by executing the [preview](https://github.com/FormidableLabs/component-playground/blob/master/src/components/preview.jsx)...

Hi The component I'm working on is supposed to attach a node to `doument.body` using `createPortal` from `react-dom` and it works perfectly fine outside of playground, but as soon as...