3.0.0 • Published 2 years ago

@dreamworld/dw-text-editor v3.0.0

Weekly downloads
20
License
MIT
Repository
github
Last release
2 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

2 years ago

3.0.0

2 years ago

2.5.6

2 years ago

2.5.5

2 years ago

2.5.4

2 years ago

2.5.2

2 years ago

2.5.1

2 years ago

2.5.3

2 years ago

2.5.0

3 years ago

2.4.2

3 years ago

2.4.1

3 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.3.0-focus.1

4 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago