-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
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
placeholder text doesnt go away when block-element is inserted #7419
Comments
Hi, we're aware of some problems with placeholders, e.g. while inserting a media and UI elements. However, I can't reproduce it with images. Could you describe more detailed steps to reproduce and create a screencast showing the issue? |
Thanks for the details. As it goes to As it comes to your custom widget, I believe the issue occurs because of problems mentioned in the tickets I've linked above. Out of curiosity - can you check if adding a change from ckeditor/ckeditor5-engine#1749 fixes your issue? After migrating to monorepo, this branch might be inaccessible, so you'll need to add a fix manually. Just add this code to if ( element.getCustomProperty( 'widget' ) ) {
return false;
} |
Yeah this fix did it :)) Thanks for the fast help :) |
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
data-placeholder attribute and ck-placeholder class are not set on the first block-element
❌ Actual result
data-placeholder attribute and ck-placeholder class are set on the first block-element
📃 Other details
ckeditor5-react'
inlineeditor'
essentials'
heading'
bold'
italic'
underline'
link'
table'
tabletoolbar'
paragraph'
image'
imageupload'
base64uploadadapter'
imagetoolbar'
imagecaption'
imagestyle'
imageresize'
The text was updated successfully, but these errors were encountered: