BlocksController
class BlocksController extends Controller (View source)
Traits
AuthorizesRequests
DispatchesJobs
ValidatesRequests
Methods
string
preview(BlockRepository $blockRepository, Application $app, Factory $viewFactory, Request $request, Repository $config)
Render an HTML preview of a single block.
Details
__construct()
No description
void
removeMiddleware(string $middleware)
Attempts to unset the given middleware.
string
preview(BlockRepository $blockRepository, Application $app, Factory $viewFactory, Request $request, Repository $config)
Render an HTML preview of a single block.
This is used by the full screen content editor.