3.0.0 • Published 3 years ago

@dreamworld/dw-text-editor v3.0.0

Weekly downloads
20
License
MIT
Repository
github
Last release
3 years ago

dw-text-editor

Introduction

  • HTML5 rich text editor

Installation Steps

  1. npm i @dw/dw-text-editor
  2. Copy the squire.html file into your server root directory.

Usage

Import

  • import '@dw/dw-text-editor'

Use

  • Set iframePath attribute to path/to/squire.html if squire.html file isn't on root directory.
  • Set autoHeight to avoid iframe scroll. In this case iframe has same height as its content always.
  • Set readOnly to mark content as read only and hide toolbar action manu.
  • Set autoFocus to set focus into iFrame body when iFrame is ready.
  • Set proxy-events to proxy events from editor content.

    • Note: Original event can be accessed through e.details.event e.g (e) => {const originalEvent = e.details.event}
  • <dw-text-editor 
      iframePath="path/to/squire.html" 
      value=""
      autoHeight
      readOnly>
    </dw-text-editor>
2.5.7

3 years ago

3.0.0

3 years ago

2.5.6

3 years ago

2.5.5

3 years ago

2.5.4

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.3

4 years ago

2.5.0

4 years ago

2.4.2

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

1.4.8

5 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.4

5 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.3.0-focus.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago