Open novelnet opened 2 years ago
modify src/NovaTinyMCE.php :
add
public $asHtml = false;
public function asHtml()
{
$this->asHtml = true;
return $this;
}
and
'asHtml' => $this->asHtml,
in jsonSerialize array_merge
public function jsonSerialize(): array
{
return array_merge(parent::jsonSerialize(), [
'asHtml' => $this->asHtml,
'shouldShow' => $this->shouldBeExpanded(),
]);
}
does the job
Take a look at PR #77
Merged
Version 2.0.0 does not have this update, when can you release the new version?
@emilianotisato I see you merged this last year. Would be great if you could tag a release. Thanks!
Would be nice to have kind of
->asHtml()
option to display optionally raw html