Make WordPress Core

Ticket #45375: rich-text-editing.2.patch

File rich-text-editing.2.patch, 584 bytes (added by youknowriad, 6 years ago)
  • src/wp-admin/edit-form-blocks.php

     
    273273        'allowedMimeTypes'       => get_allowed_mime_types(),
    274274        'styles'                 => $styles,
    275275        'imageSizes'             => $available_image_sizes,
     276        'richEditingEnabled'     => user_can_richedit(),
    276277        'postLock'               => $lock_details,
    277278        'postLockUtils'          => array(
    278279                'nonce'       => wp_create_nonce( 'lock-post_' . $post->ID ),