Skip to content
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 does not disappear after inserting media #1684

Closed
pomek opened this issue Apr 5, 2019 · 1 comment · Fixed by #7621 · May be fixed by ckeditor/ckeditor5-engine#1749
Closed

Placeholder does not disappear after inserting media #1684

pomek opened this issue Apr 5, 2019 · 1 comment · Fixed by #7621 · May be fixed by ckeditor/ckeditor5-engine#1749
Assignees
Labels
type:bug This issue reports a buggy (incorrect) behavior.

Comments

@pomek
Copy link
Member

pomek commented Apr 5, 2019

Is this a bug report or feature request? (choose one)

🐞 Bug report

💻 Version of CKEditor

Master and the latest release.

📋 Steps to reproduce

  1. Go to https://ckeditor.com/docs/ckeditor5/latest/features/editor-placeholder.html or use local build documentation.
  2. To the first editor (it must be empty), paste any URL to YT or add the media using the UI button.

✅ Expected result

Type the content here! should disappear.

❎ Actual result

But it does not:

image

📃 Other details that might be useful

I can reproduce it on Firefox, Chrome, and Safari.

@pomek pomek added the type:bug This issue reports a buggy (incorrect) behavior. label Apr 5, 2019
@pomek pomek added this to the iteration 24 milestone Apr 5, 2019
@mlewand mlewand modified the milestones: iteration 24, iteration 25 May 13, 2019
@jodator jodator self-assigned this Jun 18, 2019
@Reinmar Reinmar modified the milestones: iteration 25, iteration 26 Jul 1, 2019
@mlewand mlewand modified the milestones: iteration 26, nice-to-have Jul 31, 2019
@Mgsy
Copy link
Member

Mgsy commented Dec 16, 2019

Related #4114.

@jodator jodator removed their assignment Jun 22, 2020
@oleq oleq modified the milestones: nice-to-have, iteration 34 Jul 13, 2020
Reinmar added a commit that referenced this issue Jul 22, 2020
Feature (engine): Implemented the view `RawElement`. Implemented the `DowncastWriter#createRawElement()` method. Closes #4469.

Fix (media-embed): The editor placeholder should disappear after inserting media into an empty editor. Closes #1684.

Docs (ckeditor5): Used the `RawElement` instead of `UIElement` in the "Using a React component in a block widget" guide (see #1684).

Internal (media-embed): Removed the `getFillerOffset()` hack from the `createMediaFigureElement()` helper that is no longer needed since the media content is rendered using `RawElements` (see #1684).

BREAKING CHANGE (engine): The `DomConverter#getParentUIElement()` method was renamed to `DomConverter#getHostViewElement()` because now it supports both `UIElement` and `RawElement` (see #4469).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
6 participants