![]() Phoenix doesn’t require much boilerplate. ![]() This socket assignment is the ID that LiveView JavaScript uses to identify the file upload form field and tie it to the correct key in . Elixir is a productive language a lot can be accomplished in a small amount of code. Before using LiveView, I imported it as a node_module library into the app.js file import tinymce from './node_modules/tinymce/tinymce'Īnd then initialized it through tinymce.init(īut this does not work. LiveDashboard starts up a LiveView,, with the metrics we defined in Quantum.Telemetry. All we have to do is add an element to the page with the phx-drop-target attribute, like this: elixir. I am trying to integrate the WYSIWYG-Editor tinymce with a phoenix LiveView that contains textarea fields. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |