Wysiwyg-editor: Option to disable paste from Word/Excel modal

Created on 4 May 2017  路  2Comments  路  Source: froala/wysiwyg-editor

Expected behavior.

A configuration option to default the paste behaviour for word to "keep", "clean" or "default" (show modal) which determines whether to show the modal on paste.

Another side effect is the text in the modal does not seem to be translated.

Actual behavior.

The modal is forced when the preferred behaviour may already be known.

Steps to reproduce the problem.

Paste from Word, modal is shown.

OS.

Mac OS Sierra

Browser.

Chrome 58

enhancement

Most helpful comment

Last commit adds the wordPasteModal option which is a boolean. By default it is true and can be set to false. In this case the format would be kept. If Word format is not desired, then the Word Paste plugin shouldn't be included at all.

All 2 comments

Last commit adds the wordPasteModal option which is a boolean. By default it is true and can be set to false. In this case the format would be kept. If Word format is not desired, then the Word Paste plugin shouldn't be included at all.

Awesome @stefanneculai thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Krisell picture Krisell  路  3Comments

horatiua picture horatiua  路  4Comments

studiotemple picture studiotemple  路  3Comments

kikeso77 picture kikeso77  路  3Comments

bnjmnfnk picture bnjmnfnk  路  4Comments