@lrnwebcomponents/rich-text-editor

8.0.2 • Public • Published

<rich-text-editor>

Text

a standalone rich text editor

Usage

To use this web component in your project you can utilize one of the following styles of syntax.

/* In an existing JS module / web component */
import '@lrnwebcomponents/rich-text-editor/rich-text-editor.js';
/* At top of an application with build routine */
<script type="module" src="@lrnwebcomponents/rich-text-editor/rich-text-editor.js"></script>
/* Alternatives for top of application */
<script type="module">
  import '@lrnwebcomponents/rich-text-editor/rich-text-editor.js';
  // imperative form
  import {RichTextEditor} from '@lrnwebcomponents/rich-text-editor';
  // if you don't have a build routine and need to reference directly
  import './node_modules/@lrnwebcomponents/rich-text-editor/rich-text-editor.js';
</script>
// via unpkg CDN (good for testing)
<script type="module" src="https://unpkg.com/@lrnwebcomponents/rich-text-editor/rich-text-editor.js"></script>

Develop / Demo

Run yarn start will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the /src directory for changes and automatically rebuilding the element and documentation site for the demo.

$ yarn start

Test

$ yarn run test

Build

Builds ensure that wcfactory can correctly compile your web component project to work on the maximum number of browsers possible.

$ yarn run build

Contributing

  1. Fork it! git clone https://github.com/elmsln/lrnwebcomponents.git
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Code style

Text (and all lrnwebcomponents) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.

License

Apache-2.0 License

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
8.0.21latest

Version History

VersionDownloads (Last 7 Days)Published
8.0.21
8.0.10
8.0.00
7.0.180
7.0.170
7.0.161
7.0.150
7.0.110
7.0.100
7.0.50
7.0.40
7.0.20
7.0.10
7.0.00
4.2.00
4.1.10
4.1.00
4.0.300
4.0.290
4.0.250
4.0.241
4.0.230
4.0.220
4.0.210
4.0.200
4.0.191
4.0.180
4.0.170
4.0.160
4.0.150
4.0.130
4.0.120
4.0.110
4.0.80
4.0.70
4.0.60
4.0.50
4.0.40
4.0.10
4.0.02
3.0.60
3.0.50
3.0.00
2.8.00
2.7.100
2.7.70
2.7.60
2.7.30
2.7.10
2.7.00
2.6.240
2.6.230
2.6.210
2.6.180
2.6.171
2.6.160
2.6.140
2.6.120
2.6.100
2.6.80
2.6.70
2.6.50
2.6.40
2.6.30
2.6.20
2.6.10
2.6.00
2.5.10
2.5.00
2.4.40
2.4.30
2.4.20
2.4.10
2.4.00
2.3.70
2.3.60
2.3.31
2.3.20
2.3.10
2.3.00
2.2.40
2.2.30
2.2.20
2.2.10
2.2.00
2.1.100
2.1.80
2.1.70
2.1.60
2.1.50
2.1.40
2.1.30
2.1.20
2.1.10
2.1.00
2.0.100
2.0.90
2.0.81
2.0.70
2.0.60
2.0.50

Package Sidebar

Install

npm i @lrnwebcomponents/rich-text-editor

Weekly Downloads

9

Version

8.0.2

License

Apache-2.0

Unpacked Size

575 kB

Total Files

46

Last publish

Collaborators

  • heymp
  • btopro
  • nikkimk
  • cgldevel