filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
17.82k stars 2.79k forks source link

Preview mode on Markdown editor #8934

Closed jals-es closed 11 months ago

jals-es commented 11 months ago

Package

filament/filament

Package Version

v3.0.68

Laravel Version

v10

Livewire Version

v3

PHP Version

PHP 8.1.0

Problem description

In Filament v2, the markdown editor has a preview mode, but in v3, the preview mode doesn't appear.

Expected behavior

A label to switch to preview mode.

Steps to reproduce

Adding a markdown editor.

Reproduction repository

https://github.com/filamentphp/demo.git

Relevant log output

No response

zepfietje commented 11 months ago

This is by design, since the new Markdown editor is kind of a WYSIWYG editor.

ismaail commented 11 months ago

the Markdown Editor is based on EasyMDE wich supports preview button.

why not allowing this ?

movicat commented 10 months ago

https://github.com/filamentphp/filament/assets/36602392/c71c6738-ec5c-4a45-a200-38eb46adad93