Hello.

After save config (admin/config/content/bueditor/CONFIG_NAME) on my Drupal 8.0.0-rc3 site, I see this error message every time:

User error: Invalid placeholder: !n in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of core/lib/Drupal/Component/Render/FormattableMarkup.php).
Drupal\Component\Render\FormattableMarkup::placeholderFormat('Heading !n', Array)
Drupal\Core\StringTranslation\TranslatableMarkup->render()
Drupal\Core\StringTranslation\TranslatableMarkup->__toString()
Drupal\Component\Render\FormattableMarkup->jsonSerialize()
json_encode(Array, 15)
Drupal\Component\Serialization\Json::encode(Array)
Drupal\Core\Asset\JsCollectionRenderer->render(Array)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries(Object, Array)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.response', Object)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1)
Stack\StackedHttpKernel->handle(Object, 1, 1)
Drupal\Core\DrupalKernel->handle(Object)

And next, if I edit/add node with use BUEditor — all changes discarded (ex. html tags).

Fix it, pls.

Comments

Vikky Shostak created an issue. See original summary.

ufku’s picture

Version: 8.x-1.0-beta3 » 8.x-1.x-dev
Status: Active » Fixed

This was already fixed in dev.
Just released another beta.

Status: Fixed » Closed (fixed)

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