I have one content type which is Ask Question which is available to subscriber. When subscriber ask question there is title and description. In description section classic editor is present so that subscriber can post in detail. In the ribbon of classic editor I want subscriber can also add code using the codemirror button (the same way admin can add).
In class-tinymce.php I have removed this line
`if ( current_user_can( ‘edit_posts’ ) && current_user_can( ‘edit_pages’ ) )
but still code block is not visible to subscriber. I am new to wordpress and php, could you pls tell me which line to add or remove so that the button is visible to subscriber or every role.