
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@instructure/canvas-rce
Advanced tools
The Canvas LMS Rich Content Editor (RCE) extracted in it's own npm package for use across multiple services
In the Canvas ecosystem, this npm module is used in conjunction with the Rich Content Service (RCS) microservice. The code for the RCS is also open source and lives in the canvas-rce-api repository. (see https://github.com/instructure/canvas-rce-api)
Some features require a running instance of the canvas-rce-api, but you do not need an instance in order to do development on @instructure/canvas-rce. (see the Development section)
The primary consumer of the @instructure/canvas-rce is canvas-lms, so documentation
and references throughout documentation might reflect and assume the use of canvas-lms.
As a published npm module, you can add @instructure/canvas-rce to your node project by doing
the following:
npm install @instructure/canvas-rce --save
For guidance on how @instructure/canvas-rce is used within Canvas, please reference
the canvas-lms use of canvas-rce to get an idea on how to incorporate it into your project. Pay
special attention to the RichContentEditor.js and serviceRCELoader.js.
Outside of Canvas, the CanvasRce React component is your entry point.
First, build assets. Then you can run the tests:
yarn build:all
yarn test:jest
yarn test:jest:debug path/to/__test__/file.test.js
will break and wait for you to attach a debugger (e.g. chrome://inspect/#devices).
Both those commands may include a --watch argument to keep the process alive
while you iterate.
This project makes use of modern JavaScript APIs like Promise, Object.assign,
Array.prototype.includes, etc. which are present in modern
browsers but may not be present in old browsers like IE 11. In order to not
send unnecessarily large and duplicated code bundles to the browser, consumers
are expected to have already globally polyfilled those APIs.
Canvas only supports modern browsers and the RCE has not been tested
in older browsers like IE. If you need suggestions for how to include
polyfills in your own app, you can put this in your html above the script that includes
@instructure/canvas-rce:
<script src="https://cdnjs.cloudflare.com/polyfill/v2/polyfill.min.js"></script>
See DEVELOPMENT.md
FAQs
A component wrapping Canvas's usage of Tinymce
The npm package @instructure/canvas-rce receives a total of 2,512 weekly downloads. As such, @instructure/canvas-rce popularity was classified as popular.
We found that @instructure/canvas-rce demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 41 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.