Cypress plugin for working with TinyMCE



Extra helper Cypress custom commands for
easier interacting with TinyMCE.
This will return the tinymce js instance for the given id.
This will set the content of the TinyMCE editor:
``javascript`
cy.setTinyMceContent('someid', 'This is the new content');
This will return the content of the TinyMce editor for the given id.
`javascript`
cy.getTinyMceContent('someid');
`bash`
yarn add @foreachbe/cypress-tinymce -D
Add the following to your cypress/support/index file:
`javascript``
import '@foreachbe/cypress-tinymce'