Skip to contentSkip to navigationSkip to topbar
Paste DSys

Editable Code Block

Version 3.0.1GithubDesign assets pendingPeer review pending

An Editable Code Block is a text field that allows users to enter formatted code.

@twilio-paste/editable-code-block

3.0.1

Patch Changes

  • 262c1b715 #4281 Thanks @PixeledCode! - [all packages]: add use client directive to the components and icons. This will make paste library compatible with server components

3.0.0

Major Changes

  • f48211e56 #4258 Thanks @PixeledCode! - [all packages]: Upgrade to React 19 and drop support for React 16. Paste only supports the three latest versions of React. If you're using Paste in a React 17, 18, or 19 app, you should be able to upgrade with full backwards compatibility. If you experience any issues, please let us know on Github.

Patch Changes

2.1.0

Minor Changes

  • b8d79200b #3442 Thanks @TheSisb! - Removed all run-time prop-type checkingfrom Paste components. Paste now ships with only TypeScript types.

    ACTION NEEDED: None. This should be 100% backwards compatible.

Patch Changes

2.0.0

Major Changes

  • 733709127 #3395 Thanks @SiTaggart! - Modified the compile target of our JavaScript bundles from node to browser to minimize the risk of clashing with RequireJS. This is marked as a major out of an abundance of caution. You shouldn't need to do anything but we wanted you to be aware of the change on the off chance it has unintended consequences

Patch Changes

1.1.0

Minor Changes

  • bb49609a7 #3332 Thanks @TheSisb! - [Editable CodeBlock] Refined the API and added a wrapper and header component.

1.0.0

Major Changes

  • 61ba09fa3 #3309 Thanks @TheSisb! - [Editable Code Block] Add the new EditableCodeBlock component. Enables building code editors in the browser, styled with Paste default styles.

Patch Changes