vendredi 6 janvier 2017

How can I insert variables into a view using TinyMCE - Laravel

I have a Laravel 5 app that includes a form that allows users to edit a blade view. I have TinyMCE running to allow WYSIWYG editing for some elements. I am looking to allow the user to insert some variables - like First Name for example.

I have added the TinyMCE 'template' plugin which includes an html snippet function but the variables are not being escaped when presented in the view.

So;

Hello ,

Is presented in the view. The variable is not being inserted.

I have also found this plugin but I am not too sure how to implement.

Has anyone else tried to achieve the same? I feel this is a pretty common app feature requirement no?

Thanks!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2iYfhjH
via IFTTT

Aucun commentaire:

Enregistrer un commentaire