Skip to content

Commit

Permalink
Review fixes add unit tests with divarea editor embed inside section …
Browse files Browse the repository at this point in the history
…element.
  • Loading branch information
Mateusz Samsel committed May 29, 2018
1 parent 2931ab4 commit 294c5d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/plugins/emoji/basic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<section>
<textarea id="divarea"></textarea>
</section>
9 changes: 9 additions & 0 deletions tests/plugins/emoji/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
creator: 'replace',
name: 'classic',
startupData: '<p>foo:grinning_face:bar :not_emoji:</p>'
},
divarea: {
creator: 'replace',
name: 'divarea',
startupData: '<p>foo:grinning_face:bar :not_emoji:</p>',
config: {
extraPlugins: 'divarea',
emoji_blacklistedElements: [ 'section', 'pre', 'code' ]
}
}
};

Expand Down

0 comments on commit 294c5d3

Please sign in to comment.