We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi.
I want to use option with 'type' => 'wp-editor' in Slider with custom population.
Part of custom.php:
'content2' => array( 'type' => 'wp-editor', 'teeny' => false, 'reinit' => true, 'size' => 'large', 'label' => esc_html__( 'Content', 'stt' ), 'desc' => esc_html__( 'Enter content', 'stt' ), 'editor_height' => 160, 'value' => '<h1 style="text-align: center;"><span style="font-size: 36px;">Mauris vel velit dignissim</span></h1><p style="text-align: center;"><span style="font-size: 16px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vulputate vehicula sollicitudin. Aliquam rutrum aliquet nisl sit amet viverra. Nunc ac augue nunc.</span></p>', ),
Every thing works fine, but id of editor cached, so when i create first slide and want add second, they both get same id and second don't work.
Screenshot of first slide (all OK):
Screenshot of second slide (broken):
Tnx for your help and sorry for my English.
The text was updated successfully, but these errors were encountered:
@andreiglingeanu , might be related
#2564
Sorry, something went wrong.
No branches or pull requests
Hi.
I want to use option with 'type' => 'wp-editor' in Slider with custom population.
Part of custom.php:
Every thing works fine, but id of editor cached, so when i create first slide and want add second, they both get same id and second don't work.
Screenshot of first slide (all OK):
Screenshot of second slide (broken):
Tnx for your help and sorry for my English.
The text was updated successfully, but these errors were encountered: