UNPKG

@wordpress/e2e-test-utils

Version:
20 lines (18 loc) 546 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getEditedPostContent = getEditedPostContent; var _wpDataSelect = require("./wp-data-select"); /** * Internal dependencies */ /** * Returns a promise which resolves with the edited post content (HTML string). * * @return {Promise} Promise resolving with post content markup. */ async function getEditedPostContent() { return (0, _wpDataSelect.wpDataSelect)('core/editor', 'getEditedPostContent'); } //# sourceMappingURL=get-edited-post-content.js.map