When creating a new node it has the metatags filled in like this:
[current-page:title] | [site:name]

In Drupal 8 yoast snippet preview these tokens are directly converted to the real values, which results in an empty title.
When filling in the title it stays empty.

After saving it does show up, since you can see the metatags tab is still using the correct token, but if you would focus on the snippet it will override this also.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RobertRagas created an issue. See original summary.

Andriy Khomych’s picture

Assigned: Unassigned » Andriy Khomych
Andriy Khomych’s picture

Added new patch, please review it.

ozin’s picture

Status: Active » Needs review

robertragas’s picture

Status: Needs review » Fixed

Thanks for the commit, its working.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.