Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/dist
File: editor.js
/**
[3500] Fix | Delete
* Returns whether the pre-publish panel should be shown
[3501] Fix | Delete
* or skipped when the user clicks the "publish" button.
[3502] Fix | Delete
*
[3503] Fix | Delete
* @return {boolean} Whether the pre-publish panel should be shown or not.
[3504] Fix | Delete
*/
[3505] Fix | Delete
const isPublishSidebarEnabled = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => !!select(external_wp_preferences_namespaceObject.store).get('core', 'isPublishSidebarEnabled'));
[3506] Fix | Delete
[3507] Fix | Delete
/**
[3508] Fix | Delete
* Return the current block list.
[3509] Fix | Delete
*
[3510] Fix | Delete
* @param {Object} state
[3511] Fix | Delete
* @return {Array} Block list.
[3512] Fix | Delete
*/
[3513] Fix | Delete
const getEditorBlocks = (0,external_wp_data_namespaceObject.createSelector)(state => {
[3514] Fix | Delete
return getEditedPostAttribute(state, 'blocks') || (0,external_wp_blocks_namespaceObject.parse)(getEditedPostContent(state));
[3515] Fix | Delete
}, state => [getEditedPostAttribute(state, 'blocks'), getEditedPostContent(state)]);
[3516] Fix | Delete
[3517] Fix | Delete
/**
[3518] Fix | Delete
* Returns true if the given panel was programmatically removed, or false otherwise.
[3519] Fix | Delete
* All panels are not removed by default.
[3520] Fix | Delete
*
[3521] Fix | Delete
* @param {Object} state Global application state.
[3522] Fix | Delete
* @param {string} panelName A string that identifies the panel.
[3523] Fix | Delete
*
[3524] Fix | Delete
* @return {boolean} Whether or not the panel is removed.
[3525] Fix | Delete
*/
[3526] Fix | Delete
function isEditorPanelRemoved(state, panelName) {
[3527] Fix | Delete
return state.removedPanels.includes(panelName);
[3528] Fix | Delete
}
[3529] Fix | Delete
[3530] Fix | Delete
/**
[3531] Fix | Delete
* Returns true if the given panel is enabled, or false otherwise. Panels are
[3532] Fix | Delete
* enabled by default.
[3533] Fix | Delete
*
[3534] Fix | Delete
* @param {Object} state Global application state.
[3535] Fix | Delete
* @param {string} panelName A string that identifies the panel.
[3536] Fix | Delete
*
[3537] Fix | Delete
* @return {boolean} Whether or not the panel is enabled.
[3538] Fix | Delete
*/
[3539] Fix | Delete
const isEditorPanelEnabled = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, panelName) => {
[3540] Fix | Delete
// For backward compatibility, we check edit-post
[3541] Fix | Delete
// even though now this is in "editor" package.
[3542] Fix | Delete
const inactivePanels = select(external_wp_preferences_namespaceObject.store).get('core', 'inactivePanels');
[3543] Fix | Delete
return !isEditorPanelRemoved(state, panelName) && !inactivePanels?.includes(panelName);
[3544] Fix | Delete
});
[3545] Fix | Delete
[3546] Fix | Delete
/**
[3547] Fix | Delete
* Returns true if the given panel is open, or false otherwise. Panels are
[3548] Fix | Delete
* closed by default.
[3549] Fix | Delete
*
[3550] Fix | Delete
* @param {Object} state Global application state.
[3551] Fix | Delete
* @param {string} panelName A string that identifies the panel.
[3552] Fix | Delete
*
[3553] Fix | Delete
* @return {boolean} Whether or not the panel is open.
[3554] Fix | Delete
*/
[3555] Fix | Delete
const isEditorPanelOpened = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, panelName) => {
[3556] Fix | Delete
// For backward compatibility, we check edit-post
[3557] Fix | Delete
// even though now this is in "editor" package.
[3558] Fix | Delete
const openPanels = select(external_wp_preferences_namespaceObject.store).get('core', 'openPanels');
[3559] Fix | Delete
return !!openPanels?.includes(panelName);
[3560] Fix | Delete
});
[3561] Fix | Delete
[3562] Fix | Delete
/**
[3563] Fix | Delete
* A block selection object.
[3564] Fix | Delete
*
[3565] Fix | Delete
* @typedef {Object} WPBlockSelection
[3566] Fix | Delete
*
[3567] Fix | Delete
* @property {string} clientId A block client ID.
[3568] Fix | Delete
* @property {string} attributeKey A block attribute key.
[3569] Fix | Delete
* @property {number} offset An attribute value offset, based on the rich
[3570] Fix | Delete
* text value. See `wp.richText.create`.
[3571] Fix | Delete
*/
[3572] Fix | Delete
[3573] Fix | Delete
/**
[3574] Fix | Delete
* Returns the current selection start.
[3575] Fix | Delete
*
[3576] Fix | Delete
* @param {Object} state
[3577] Fix | Delete
* @return {WPBlockSelection} The selection start.
[3578] Fix | Delete
*
[3579] Fix | Delete
* @deprecated since Gutenberg 10.0.0.
[3580] Fix | Delete
*/
[3581] Fix | Delete
function getEditorSelectionStart(state) {
[3582] Fix | Delete
external_wp_deprecated_default()("select('core/editor').getEditorSelectionStart", {
[3583] Fix | Delete
since: '5.8',
[3584] Fix | Delete
alternative: "select('core/editor').getEditorSelection"
[3585] Fix | Delete
});
[3586] Fix | Delete
return getEditedPostAttribute(state, 'selection')?.selectionStart;
[3587] Fix | Delete
}
[3588] Fix | Delete
[3589] Fix | Delete
/**
[3590] Fix | Delete
* Returns the current selection end.
[3591] Fix | Delete
*
[3592] Fix | Delete
* @param {Object} state
[3593] Fix | Delete
* @return {WPBlockSelection} The selection end.
[3594] Fix | Delete
*
[3595] Fix | Delete
* @deprecated since Gutenberg 10.0.0.
[3596] Fix | Delete
*/
[3597] Fix | Delete
function getEditorSelectionEnd(state) {
[3598] Fix | Delete
external_wp_deprecated_default()("select('core/editor').getEditorSelectionStart", {
[3599] Fix | Delete
since: '5.8',
[3600] Fix | Delete
alternative: "select('core/editor').getEditorSelection"
[3601] Fix | Delete
});
[3602] Fix | Delete
return getEditedPostAttribute(state, 'selection')?.selectionEnd;
[3603] Fix | Delete
}
[3604] Fix | Delete
[3605] Fix | Delete
/**
[3606] Fix | Delete
* Returns the current selection.
[3607] Fix | Delete
*
[3608] Fix | Delete
* @param {Object} state
[3609] Fix | Delete
* @return {WPBlockSelection} The selection end.
[3610] Fix | Delete
*/
[3611] Fix | Delete
function getEditorSelection(state) {
[3612] Fix | Delete
return getEditedPostAttribute(state, 'selection');
[3613] Fix | Delete
}
[3614] Fix | Delete
[3615] Fix | Delete
/**
[3616] Fix | Delete
* Is the editor ready
[3617] Fix | Delete
*
[3618] Fix | Delete
* @param {Object} state
[3619] Fix | Delete
* @return {boolean} is Ready.
[3620] Fix | Delete
*/
[3621] Fix | Delete
function __unstableIsEditorReady(state) {
[3622] Fix | Delete
return !!state.postId;
[3623] Fix | Delete
}
[3624] Fix | Delete
[3625] Fix | Delete
/**
[3626] Fix | Delete
* Returns the post editor settings.
[3627] Fix | Delete
*
[3628] Fix | Delete
* @param {Object} state Editor state.
[3629] Fix | Delete
*
[3630] Fix | Delete
* @return {Object} The editor settings object.
[3631] Fix | Delete
*/
[3632] Fix | Delete
function getEditorSettings(state) {
[3633] Fix | Delete
return state.editorSettings;
[3634] Fix | Delete
}
[3635] Fix | Delete
[3636] Fix | Delete
/**
[3637] Fix | Delete
* Returns the post editor's rendering mode.
[3638] Fix | Delete
*
[3639] Fix | Delete
* @param {Object} state Editor state.
[3640] Fix | Delete
*
[3641] Fix | Delete
* @return {string} Rendering mode.
[3642] Fix | Delete
*/
[3643] Fix | Delete
function getRenderingMode(state) {
[3644] Fix | Delete
return state.renderingMode;
[3645] Fix | Delete
}
[3646] Fix | Delete
[3647] Fix | Delete
/**
[3648] Fix | Delete
* Returns the current editing canvas device type.
[3649] Fix | Delete
*
[3650] Fix | Delete
* @param {Object} state Global application state.
[3651] Fix | Delete
*
[3652] Fix | Delete
* @return {string} Device type.
[3653] Fix | Delete
*/
[3654] Fix | Delete
function getDeviceType(state) {
[3655] Fix | Delete
return state.deviceType;
[3656] Fix | Delete
}
[3657] Fix | Delete
[3658] Fix | Delete
/**
[3659] Fix | Delete
* Returns true if the list view is opened.
[3660] Fix | Delete
*
[3661] Fix | Delete
* @param {Object} state Global application state.
[3662] Fix | Delete
*
[3663] Fix | Delete
* @return {boolean} Whether the list view is opened.
[3664] Fix | Delete
*/
[3665] Fix | Delete
function isListViewOpened(state) {
[3666] Fix | Delete
return state.listViewPanel;
[3667] Fix | Delete
}
[3668] Fix | Delete
[3669] Fix | Delete
/**
[3670] Fix | Delete
* Returns true if the inserter is opened.
[3671] Fix | Delete
*
[3672] Fix | Delete
* @param {Object} state Global application state.
[3673] Fix | Delete
*
[3674] Fix | Delete
* @return {boolean} Whether the inserter is opened.
[3675] Fix | Delete
*/
[3676] Fix | Delete
function isInserterOpened(state) {
[3677] Fix | Delete
return !!state.blockInserterPanel;
[3678] Fix | Delete
}
[3679] Fix | Delete
[3680] Fix | Delete
/**
[3681] Fix | Delete
* Returns the current editing mode.
[3682] Fix | Delete
*
[3683] Fix | Delete
* @param {Object} state Global application state.
[3684] Fix | Delete
*
[3685] Fix | Delete
* @return {string} Editing mode.
[3686] Fix | Delete
*/
[3687] Fix | Delete
const getEditorMode = (0,external_wp_data_namespaceObject.createRegistrySelector)(select => () => {
[3688] Fix | Delete
var _select$get;
[3689] Fix | Delete
return (_select$get = select(external_wp_preferences_namespaceObject.store).get('core', 'editorMode')) !== null && _select$get !== void 0 ? _select$get : 'visual';
[3690] Fix | Delete
});
[3691] Fix | Delete
[3692] Fix | Delete
/*
[3693] Fix | Delete
* Backward compatibility
[3694] Fix | Delete
*/
[3695] Fix | Delete
[3696] Fix | Delete
/**
[3697] Fix | Delete
* Returns state object prior to a specified optimist transaction ID, or `null`
[3698] Fix | Delete
* if the transaction corresponding to the given ID cannot be found.
[3699] Fix | Delete
*
[3700] Fix | Delete
* @deprecated since Gutenberg 9.7.0.
[3701] Fix | Delete
*/
[3702] Fix | Delete
function getStateBeforeOptimisticTransaction() {
[3703] Fix | Delete
external_wp_deprecated_default()("select('core/editor').getStateBeforeOptimisticTransaction", {
[3704] Fix | Delete
since: '5.7',
[3705] Fix | Delete
hint: 'No state history is kept on this store anymore'
[3706] Fix | Delete
});
[3707] Fix | Delete
return null;
[3708] Fix | Delete
}
[3709] Fix | Delete
/**
[3710] Fix | Delete
* Returns true if an optimistic transaction is pending commit, for which the
[3711] Fix | Delete
* before state satisfies the given predicate function.
[3712] Fix | Delete
*
[3713] Fix | Delete
* @deprecated since Gutenberg 9.7.0.
[3714] Fix | Delete
*/
[3715] Fix | Delete
function inSomeHistory() {
[3716] Fix | Delete
external_wp_deprecated_default()("select('core/editor').inSomeHistory", {
[3717] Fix | Delete
since: '5.7',
[3718] Fix | Delete
hint: 'No state history is kept on this store anymore'
[3719] Fix | Delete
});
[3720] Fix | Delete
return false;
[3721] Fix | Delete
}
[3722] Fix | Delete
function getBlockEditorSelector(name) {
[3723] Fix | Delete
return (0,external_wp_data_namespaceObject.createRegistrySelector)(select => (state, ...args) => {
[3724] Fix | Delete
external_wp_deprecated_default()("`wp.data.select( 'core/editor' )." + name + '`', {
[3725] Fix | Delete
since: '5.3',
[3726] Fix | Delete
alternative: "`wp.data.select( 'core/block-editor' )." + name + '`',
[3727] Fix | Delete
version: '6.2'
[3728] Fix | Delete
});
[3729] Fix | Delete
return select(external_wp_blockEditor_namespaceObject.store)[name](...args);
[3730] Fix | Delete
});
[3731] Fix | Delete
}
[3732] Fix | Delete
[3733] Fix | Delete
/**
[3734] Fix | Delete
* @see getBlockName in core/block-editor store.
[3735] Fix | Delete
*/
[3736] Fix | Delete
const getBlockName = getBlockEditorSelector('getBlockName');
[3737] Fix | Delete
[3738] Fix | Delete
/**
[3739] Fix | Delete
* @see isBlockValid in core/block-editor store.
[3740] Fix | Delete
*/
[3741] Fix | Delete
const isBlockValid = getBlockEditorSelector('isBlockValid');
[3742] Fix | Delete
[3743] Fix | Delete
/**
[3744] Fix | Delete
* @see getBlockAttributes in core/block-editor store.
[3745] Fix | Delete
*/
[3746] Fix | Delete
const getBlockAttributes = getBlockEditorSelector('getBlockAttributes');
[3747] Fix | Delete
[3748] Fix | Delete
/**
[3749] Fix | Delete
* @see getBlock in core/block-editor store.
[3750] Fix | Delete
*/
[3751] Fix | Delete
const getBlock = getBlockEditorSelector('getBlock');
[3752] Fix | Delete
[3753] Fix | Delete
/**
[3754] Fix | Delete
* @see getBlocks in core/block-editor store.
[3755] Fix | Delete
*/
[3756] Fix | Delete
const getBlocks = getBlockEditorSelector('getBlocks');
[3757] Fix | Delete
[3758] Fix | Delete
/**
[3759] Fix | Delete
* @see getClientIdsOfDescendants in core/block-editor store.
[3760] Fix | Delete
*/
[3761] Fix | Delete
const getClientIdsOfDescendants = getBlockEditorSelector('getClientIdsOfDescendants');
[3762] Fix | Delete
[3763] Fix | Delete
/**
[3764] Fix | Delete
* @see getClientIdsWithDescendants in core/block-editor store.
[3765] Fix | Delete
*/
[3766] Fix | Delete
const getClientIdsWithDescendants = getBlockEditorSelector('getClientIdsWithDescendants');
[3767] Fix | Delete
[3768] Fix | Delete
/**
[3769] Fix | Delete
* @see getGlobalBlockCount in core/block-editor store.
[3770] Fix | Delete
*/
[3771] Fix | Delete
const getGlobalBlockCount = getBlockEditorSelector('getGlobalBlockCount');
[3772] Fix | Delete
[3773] Fix | Delete
/**
[3774] Fix | Delete
* @see getBlocksByClientId in core/block-editor store.
[3775] Fix | Delete
*/
[3776] Fix | Delete
const getBlocksByClientId = getBlockEditorSelector('getBlocksByClientId');
[3777] Fix | Delete
[3778] Fix | Delete
/**
[3779] Fix | Delete
* @see getBlockCount in core/block-editor store.
[3780] Fix | Delete
*/
[3781] Fix | Delete
const getBlockCount = getBlockEditorSelector('getBlockCount');
[3782] Fix | Delete
[3783] Fix | Delete
/**
[3784] Fix | Delete
* @see getBlockSelectionStart in core/block-editor store.
[3785] Fix | Delete
*/
[3786] Fix | Delete
const getBlockSelectionStart = getBlockEditorSelector('getBlockSelectionStart');
[3787] Fix | Delete
[3788] Fix | Delete
/**
[3789] Fix | Delete
* @see getBlockSelectionEnd in core/block-editor store.
[3790] Fix | Delete
*/
[3791] Fix | Delete
const getBlockSelectionEnd = getBlockEditorSelector('getBlockSelectionEnd');
[3792] Fix | Delete
[3793] Fix | Delete
/**
[3794] Fix | Delete
* @see getSelectedBlockCount in core/block-editor store.
[3795] Fix | Delete
*/
[3796] Fix | Delete
const getSelectedBlockCount = getBlockEditorSelector('getSelectedBlockCount');
[3797] Fix | Delete
[3798] Fix | Delete
/**
[3799] Fix | Delete
* @see hasSelectedBlock in core/block-editor store.
[3800] Fix | Delete
*/
[3801] Fix | Delete
const hasSelectedBlock = getBlockEditorSelector('hasSelectedBlock');
[3802] Fix | Delete
[3803] Fix | Delete
/**
[3804] Fix | Delete
* @see getSelectedBlockClientId in core/block-editor store.
[3805] Fix | Delete
*/
[3806] Fix | Delete
const getSelectedBlockClientId = getBlockEditorSelector('getSelectedBlockClientId');
[3807] Fix | Delete
[3808] Fix | Delete
/**
[3809] Fix | Delete
* @see getSelectedBlock in core/block-editor store.
[3810] Fix | Delete
*/
[3811] Fix | Delete
const getSelectedBlock = getBlockEditorSelector('getSelectedBlock');
[3812] Fix | Delete
[3813] Fix | Delete
/**
[3814] Fix | Delete
* @see getBlockRootClientId in core/block-editor store.
[3815] Fix | Delete
*/
[3816] Fix | Delete
const getBlockRootClientId = getBlockEditorSelector('getBlockRootClientId');
[3817] Fix | Delete
[3818] Fix | Delete
/**
[3819] Fix | Delete
* @see getBlockHierarchyRootClientId in core/block-editor store.
[3820] Fix | Delete
*/
[3821] Fix | Delete
const getBlockHierarchyRootClientId = getBlockEditorSelector('getBlockHierarchyRootClientId');
[3822] Fix | Delete
[3823] Fix | Delete
/**
[3824] Fix | Delete
* @see getAdjacentBlockClientId in core/block-editor store.
[3825] Fix | Delete
*/
[3826] Fix | Delete
const getAdjacentBlockClientId = getBlockEditorSelector('getAdjacentBlockClientId');
[3827] Fix | Delete
[3828] Fix | Delete
/**
[3829] Fix | Delete
* @see getPreviousBlockClientId in core/block-editor store.
[3830] Fix | Delete
*/
[3831] Fix | Delete
const getPreviousBlockClientId = getBlockEditorSelector('getPreviousBlockClientId');
[3832] Fix | Delete
[3833] Fix | Delete
/**
[3834] Fix | Delete
* @see getNextBlockClientId in core/block-editor store.
[3835] Fix | Delete
*/
[3836] Fix | Delete
const getNextBlockClientId = getBlockEditorSelector('getNextBlockClientId');
[3837] Fix | Delete
[3838] Fix | Delete
/**
[3839] Fix | Delete
* @see getSelectedBlocksInitialCaretPosition in core/block-editor store.
[3840] Fix | Delete
*/
[3841] Fix | Delete
const getSelectedBlocksInitialCaretPosition = getBlockEditorSelector('getSelectedBlocksInitialCaretPosition');
[3842] Fix | Delete
[3843] Fix | Delete
/**
[3844] Fix | Delete
* @see getMultiSelectedBlockClientIds in core/block-editor store.
[3845] Fix | Delete
*/
[3846] Fix | Delete
const getMultiSelectedBlockClientIds = getBlockEditorSelector('getMultiSelectedBlockClientIds');
[3847] Fix | Delete
[3848] Fix | Delete
/**
[3849] Fix | Delete
* @see getMultiSelectedBlocks in core/block-editor store.
[3850] Fix | Delete
*/
[3851] Fix | Delete
const getMultiSelectedBlocks = getBlockEditorSelector('getMultiSelectedBlocks');
[3852] Fix | Delete
[3853] Fix | Delete
/**
[3854] Fix | Delete
* @see getFirstMultiSelectedBlockClientId in core/block-editor store.
[3855] Fix | Delete
*/
[3856] Fix | Delete
const getFirstMultiSelectedBlockClientId = getBlockEditorSelector('getFirstMultiSelectedBlockClientId');
[3857] Fix | Delete
[3858] Fix | Delete
/**
[3859] Fix | Delete
* @see getLastMultiSelectedBlockClientId in core/block-editor store.
[3860] Fix | Delete
*/
[3861] Fix | Delete
const getLastMultiSelectedBlockClientId = getBlockEditorSelector('getLastMultiSelectedBlockClientId');
[3862] Fix | Delete
[3863] Fix | Delete
/**
[3864] Fix | Delete
* @see isFirstMultiSelectedBlock in core/block-editor store.
[3865] Fix | Delete
*/
[3866] Fix | Delete
const isFirstMultiSelectedBlock = getBlockEditorSelector('isFirstMultiSelectedBlock');
[3867] Fix | Delete
[3868] Fix | Delete
/**
[3869] Fix | Delete
* @see isBlockMultiSelected in core/block-editor store.
[3870] Fix | Delete
*/
[3871] Fix | Delete
const isBlockMultiSelected = getBlockEditorSelector('isBlockMultiSelected');
[3872] Fix | Delete
[3873] Fix | Delete
/**
[3874] Fix | Delete
* @see isAncestorMultiSelected in core/block-editor store.
[3875] Fix | Delete
*/
[3876] Fix | Delete
const isAncestorMultiSelected = getBlockEditorSelector('isAncestorMultiSelected');
[3877] Fix | Delete
[3878] Fix | Delete
/**
[3879] Fix | Delete
* @see getMultiSelectedBlocksStartClientId in core/block-editor store.
[3880] Fix | Delete
*/
[3881] Fix | Delete
const getMultiSelectedBlocksStartClientId = getBlockEditorSelector('getMultiSelectedBlocksStartClientId');
[3882] Fix | Delete
[3883] Fix | Delete
/**
[3884] Fix | Delete
* @see getMultiSelectedBlocksEndClientId in core/block-editor store.
[3885] Fix | Delete
*/
[3886] Fix | Delete
const getMultiSelectedBlocksEndClientId = getBlockEditorSelector('getMultiSelectedBlocksEndClientId');
[3887] Fix | Delete
[3888] Fix | Delete
/**
[3889] Fix | Delete
* @see getBlockOrder in core/block-editor store.
[3890] Fix | Delete
*/
[3891] Fix | Delete
const getBlockOrder = getBlockEditorSelector('getBlockOrder');
[3892] Fix | Delete
[3893] Fix | Delete
/**
[3894] Fix | Delete
* @see getBlockIndex in core/block-editor store.
[3895] Fix | Delete
*/
[3896] Fix | Delete
const getBlockIndex = getBlockEditorSelector('getBlockIndex');
[3897] Fix | Delete
[3898] Fix | Delete
/**
[3899] Fix | Delete
* @see isBlockSelected in core/block-editor store.
[3900] Fix | Delete
*/
[3901] Fix | Delete
const isBlockSelected = getBlockEditorSelector('isBlockSelected');
[3902] Fix | Delete
[3903] Fix | Delete
/**
[3904] Fix | Delete
* @see hasSelectedInnerBlock in core/block-editor store.
[3905] Fix | Delete
*/
[3906] Fix | Delete
const hasSelectedInnerBlock = getBlockEditorSelector('hasSelectedInnerBlock');
[3907] Fix | Delete
[3908] Fix | Delete
/**
[3909] Fix | Delete
* @see isBlockWithinSelection in core/block-editor store.
[3910] Fix | Delete
*/
[3911] Fix | Delete
const isBlockWithinSelection = getBlockEditorSelector('isBlockWithinSelection');
[3912] Fix | Delete
[3913] Fix | Delete
/**
[3914] Fix | Delete
* @see hasMultiSelection in core/block-editor store.
[3915] Fix | Delete
*/
[3916] Fix | Delete
const hasMultiSelection = getBlockEditorSelector('hasMultiSelection');
[3917] Fix | Delete
[3918] Fix | Delete
/**
[3919] Fix | Delete
* @see isMultiSelecting in core/block-editor store.
[3920] Fix | Delete
*/
[3921] Fix | Delete
const isMultiSelecting = getBlockEditorSelector('isMultiSelecting');
[3922] Fix | Delete
[3923] Fix | Delete
/**
[3924] Fix | Delete
* @see isSelectionEnabled in core/block-editor store.
[3925] Fix | Delete
*/
[3926] Fix | Delete
const isSelectionEnabled = getBlockEditorSelector('isSelectionEnabled');
[3927] Fix | Delete
[3928] Fix | Delete
/**
[3929] Fix | Delete
* @see getBlockMode in core/block-editor store.
[3930] Fix | Delete
*/
[3931] Fix | Delete
const getBlockMode = getBlockEditorSelector('getBlockMode');
[3932] Fix | Delete
[3933] Fix | Delete
/**
[3934] Fix | Delete
* @see isTyping in core/block-editor store.
[3935] Fix | Delete
*/
[3936] Fix | Delete
const isTyping = getBlockEditorSelector('isTyping');
[3937] Fix | Delete
[3938] Fix | Delete
/**
[3939] Fix | Delete
* @see isCaretWithinFormattedText in core/block-editor store.
[3940] Fix | Delete
*/
[3941] Fix | Delete
const isCaretWithinFormattedText = getBlockEditorSelector('isCaretWithinFormattedText');
[3942] Fix | Delete
[3943] Fix | Delete
/**
[3944] Fix | Delete
* @see getBlockInsertionPoint in core/block-editor store.
[3945] Fix | Delete
*/
[3946] Fix | Delete
const getBlockInsertionPoint = getBlockEditorSelector('getBlockInsertionPoint');
[3947] Fix | Delete
[3948] Fix | Delete
/**
[3949] Fix | Delete
* @see isBlockInsertionPointVisible in core/block-editor store.
[3950] Fix | Delete
*/
[3951] Fix | Delete
const isBlockInsertionPointVisible = getBlockEditorSelector('isBlockInsertionPointVisible');
[3952] Fix | Delete
[3953] Fix | Delete
/**
[3954] Fix | Delete
* @see isValidTemplate in core/block-editor store.
[3955] Fix | Delete
*/
[3956] Fix | Delete
const isValidTemplate = getBlockEditorSelector('isValidTemplate');
[3957] Fix | Delete
[3958] Fix | Delete
/**
[3959] Fix | Delete
* @see getTemplate in core/block-editor store.
[3960] Fix | Delete
*/
[3961] Fix | Delete
const getTemplate = getBlockEditorSelector('getTemplate');
[3962] Fix | Delete
[3963] Fix | Delete
/**
[3964] Fix | Delete
* @see getTemplateLock in core/block-editor store.
[3965] Fix | Delete
*/
[3966] Fix | Delete
const getTemplateLock = getBlockEditorSelector('getTemplateLock');
[3967] Fix | Delete
[3968] Fix | Delete
/**
[3969] Fix | Delete
* @see canInsertBlockType in core/block-editor store.
[3970] Fix | Delete
*/
[3971] Fix | Delete
const canInsertBlockType = getBlockEditorSelector('canInsertBlockType');
[3972] Fix | Delete
[3973] Fix | Delete
/**
[3974] Fix | Delete
* @see getInserterItems in core/block-editor store.
[3975] Fix | Delete
*/
[3976] Fix | Delete
const getInserterItems = getBlockEditorSelector('getInserterItems');
[3977] Fix | Delete
[3978] Fix | Delete
/**
[3979] Fix | Delete
* @see hasInserterItems in core/block-editor store.
[3980] Fix | Delete
*/
[3981] Fix | Delete
const hasInserterItems = getBlockEditorSelector('hasInserterItems');
[3982] Fix | Delete
[3983] Fix | Delete
/**
[3984] Fix | Delete
* @see getBlockListSettings in core/block-editor store.
[3985] Fix | Delete
*/
[3986] Fix | Delete
const getBlockListSettings = getBlockEditorSelector('getBlockListSettings');
[3987] Fix | Delete
[3988] Fix | Delete
/**
[3989] Fix | Delete
* Returns the default template types.
[3990] Fix | Delete
*
[3991] Fix | Delete
* @param {Object} state Global application state.
[3992] Fix | Delete
*
[3993] Fix | Delete
* @return {Object} The template types.
[3994] Fix | Delete
*/
[3995] Fix | Delete
function __experimentalGetDefaultTemplateTypes(state) {
[3996] Fix | Delete
return getEditorSettings(state)?.defaultTemplateTypes;
[3997] Fix | Delete
}
[3998] Fix | Delete
[3999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function