Hey @creativecatapps
I have just noticed this issue and it is a weird one. I can’t select the text area of the Book Description/Synopsis section and there is no JS console errors.
So, I will now have to scrape the Gutenberg repos for any mention of this issue.
I’ll get back to you in a bit with a solution.
Hello again,
From my research thus far, it seem TinyMCE is have some issues with the Gutenberg being active on the same screen it is on. Or vice versa.
I have a simple fix by disabling TinyMCE being attached to the Book Description/Synopsis textarea if Gutenberg is active.
Can you run an experiment for me?
If so, take a look at /recencio-book-reviews/admin/class-rcno-admin-description-meta.php#L79 and replace the do_rcno_book_description_metabox() function with this one?
public function do_rcno_book_description_metabox( $review ) {
$screen = function_exists( 'get_current_screen' ) ? get_current_screen() : null;
$description = get_post_meta( $review->ID, 'rcno_book_description', true );
$options = array(
'textarea_rows' => 8,
);
$options['media_buttons'] = false;
$options['teeny'] = true;
$options['quicktags'] = false;
$options['tinymce'] = ! ( $screen && $screen->is_block_editor );
wp_editor( $description, 'rcno_book_description', $options );
}
-
This reply was modified 5 years, 3 months ago by
Kemory Grubb.
I ran the new function, which disables TinyMCE. However, I’m still seeing the nonce issue and some of the Gutenberg blocks aren’t rendering on the front end. This is only for pages created with Recencio.
Stranger still, a standard (empty) page created with the Gutenberg editor shows:
Found 2 elements with non-unique id #rcno_ajax_nonce
I’m seeing the same warning, but my fields are all working, my issue is that the frontend post is blank. The template doesn’t seem to be loading at all? Not sure if I’m just missing something.
Thanks for any help with this!
Chris
@creativecatapps
I am 98% sure that warning from Chrome’s console is not related to this issue. It is just a warning that 2 elements on the page have the same id attribute and this instance those HTML elements are just hidden input fields.
Can you provide with more info on this part “…some of the Gutenberg blocks aren’t rendering on the front end. This is only for pages created with Recencio.”?
Which blocks are you having issues with?
@coffeemugger
Can you create a separate support ticket so that I can track your issue separately, as I don’t think it is related to this one.
@w33zy I’m using Generateblocks plugin and the standard pullquote. Can I email you the URL so you can have a look?
Note to mods: I am offering the frontend URL on my dev server only, not any credentials or access.
It seems to be working with the latest update – I am manually putting HTML into the synopsis box, which isn’t ideal, but it’s definitely working, so I will mark this as resolved. Thanks.