ck 编辑器内容未在前端显示为 html

ck editor content does not displaying as html in frontend

我的网站在 Laravel。我正在管理 side.On 管理端的 ckeditor 中制作 about-us 页面,它工作正常。我将内容 json_encoded 保存在数据库中。问题是,当我想在前端显示它时,它会将内容显示为字符串。看看结果

我在 blade.php 中所做的在这里

您当前的输出是默认转义的(安全打印),请尝试使用以下方式打印内容:

@if (isset($about?->about))
{!! json_decode($about->about) !!}
@endif

阅读更多:Laravel Docs: Displaying Unescaped Data