@wordpress/edit-post
Version:
Edit Post module for WordPress.
31 lines (27 loc) • 800 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.VIEW_AS_PREVIEW_LINK_SELECTOR = exports.VIEW_AS_LINK_SELECTOR = exports.STORE_NAME = void 0;
/**
* The identifier for the data store.
*
* @type {string}
*/
const STORE_NAME = 'core/edit-post';
/**
* CSS selector string for the admin bar view post link anchor tag.
*
* @type {string}
*/
exports.STORE_NAME = STORE_NAME;
const VIEW_AS_LINK_SELECTOR = '#wp-admin-bar-view a';
/**
* CSS selector string for the admin bar preview post link anchor tag.
*
* @type {string}
*/
exports.VIEW_AS_LINK_SELECTOR = VIEW_AS_LINK_SELECTOR;
const VIEW_AS_PREVIEW_LINK_SELECTOR = '#wp-admin-bar-preview a';
exports.VIEW_AS_PREVIEW_LINK_SELECTOR = VIEW_AS_PREVIEW_LINK_SELECTOR;
//# sourceMappingURL=constants.js.map