ifox
02/24/2022, 5:35 PMamargoCactus
02/24/2022, 6:07 PMtext_grid_item.blade.php renders in every block ?amargoCactus
02/24/2022, 6:07 PMamargoCactus
02/24/2022, 7:42 PMtwill.block_editor.block_preview_render_childs to falsekalle
02/24/2022, 9:57 PMifox
02/24/2022, 9:58 PMifox
02/24/2022, 10:00 PMkalle
02/24/2022, 10:02 PMpublic function renderNamedBlocks($name = 'default' ...) default editor if none is specified? It returns nothing, specifying some other non existing editor name throws as expected (default exists and its used)
renderBlocks works as expected~~
Ok I get it now. My bad haha 😄ifox
02/24/2022, 10:04 PMifox
02/24/2022, 10:04 PMifox
02/24/2022, 10:04 PMkalle
02/24/2022, 10:05 PMkalle
02/24/2022, 10:08 PMrender() method on views anymore since Laravel has magic method on view (__toString())
And since PHP 7.4 toString throws exceptions if something happens inside.
https://wiki.php.net/rfc/tostring_exceptionsjburd
02/24/2022, 11:19 PMamargoCactus
02/24/2022, 11:28 PMamargoCactus
02/24/2022, 11:28 PMifox
02/24/2022, 11:33 PMamargoCactus
02/25/2022, 12:24 AMifox
02/25/2022, 12:25 AMamargoCactus
02/25/2022, 12:29 AMifox
02/25/2022, 12:35 AMHarings Rob
02/25/2022, 8:01 AMHarings Rob
02/25/2022, 8:02 AMdomihagen
02/25/2022, 10:35 AMstyle="margin-top: -1px; margin-bottom: -1px; padding-top: 1px; padding-bottom: 1px;"amargoCactus
02/25/2022, 1:01 PMblock-editor.blade.php?ifox
02/25/2022, 1:03 PMifox
02/25/2022, 1:04 PMdomihagen
02/25/2022, 1:04 PM'block_single_layout' => 'site.layouts.block',
https://twill.io/docs/block-editor/default-configuration.html#default-configurationdomihagen
02/25/2022, 1:10 PM<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<link href="{{ mix('/css/app.css') }}" rel="stylesheet">
<script src="{{ mix('/js/app.js') }}" defer></script>
</head>
<body class="text-black font-normal text-left overflow-x-hidden -my-px py-px">
@yield('content')
</body>
</html>