kartik-v / yii2-markdown

Advanced Markdown editing and conversion utilities for Yii Framework 2.0
http://demos.krajee.com/markdown
Other
89 stars 41 forks source link

Display preview if input is disabled and/or readonly #73

Closed hguenot closed 4 years ago

hguenot commented 4 years ago

If the field is disabled and/or readonly, should it be possible to display the preview and hide buttons and textarea instead of textare in reaonly ?

Another solution is to write a MarkdownViewer only displaying Markdown::convert. By inheriting InputWidget, it could be possible to manage model, attribute, input template, etc.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.