Gutenberg “Add Block” button is not active (greyed out), cannot add new blocks
I think you have the visual editor disabled. Go to Users > Your Profile and uncheck “Disable the visual editor when writing”.
I think you have the visual editor disabled. Go to Users > Your Profile and uncheck “Disable the visual editor when writing”.
Actually you can include the editor-style.css (or any other stylesheet), just pass a “content_css” value to tinymce that points to a css file: wp_editor( $content, ‘editablecontent’, array( ‘tinymce’ => array( ‘content_css’ => get_stylesheet_directory_uri() . ‘/editor-styles.css’ ) ); So the original posters code would look like: add_filter( ‘comment_form_defaults’, ‘custom_comment_form_defaults’ ); function custom_comment_form_defaults( $args ) { if … Read more
I had a related issue and it wasn’t solved using the above answers. I lost access to the Visual Editor in the classic editor, and was stuck in HTML. When using Gutenberg, I lost access to the visual editor, could not add blocks, and could not switch from Visual to Code tabs. The problem was … Read more
I had the same problem and it was solved by following an advice found on https://wordpress.org/support/topic/visual-editor-missing-15/ Go to the file wp-config.php Find the following line: define(‘DB_HOST’, ‘xxxxxxxxxxxx’); Right below the above line add this: define(‘CONCATENATE_SCRIPTS’, false);
First things first, modifying core files is extremely frowned upon you will have to make these changes with every upgrade and they can lead to security and other problems. I’m pretty sure there is a plugin that will allow this. I did a simple search and here are a few to try: http://wordpress.org/extend/plugins/preserved-html-editor-markup/ http://wordpress.org/extend/plugins/ultimate-tinymce/
Have you tried PressWork? It’s http://wordpress.org/extend/themes/presswork. This post might yield some interesting leads: http://www.smartfoxes.ca/blog/2012/04/11/top-5-drag-and-drop-wordpress-themes/
I am interpreting the question to mean that you already have Word markup in your post and so you need to clean that up via PHP. If so… You can see the code that cleans up Word content here: http://core.trac.wordpress.org/browser/trunk/src/wp-includes/js/tinymce/plugins/paste/editor_plugin_src.js#L375 That is Javascript. With some work, you could convert that to PHP. PHP Tidy, if … Read more
Perhaps obvious- you’ve put the URL in the “visual” tab of the editor. Check the “Text” tab and ensure that this isn’t wrapping your URL with paragaraph tags and therefore outputting the URL as text. For simplicity, I would turn the “Video Content” meta box into a regular text field. Hope that helps!
There seem to be a few people scratching this itch over at the TinyMCE sourceforge tracker. http://sourceforge.net/tracker/?group_id=103281&atid=738747 This looks promising.. “CodeExtras adds <var> and <code> markup buttons – ID: 2904557″ http://sourceforge.net/tracker/?func=detail&aid=2904557&group_id=103281&atid=738747
This wordpress plugin seems to do the trick for my problem… http://wordpress.org/extend/plugins/raw-html/ It does seem wrong that if I enter code in the html editor it then strips it unless I resort to cheats like the pluging or adding class tags that do nothing.