You need to use the inner HTML dynamic attribute for this instead of directly binding the expression in the paragraph.
Select your paragraph, add new dynamic attribute > display > inner HTML and select your dynamic expression there.
You could add a Dynamic Event to the Summernote textarea, eg: editor1.setValue(value.replace("</p><p>", "<br>"))
This seems to work best with the onblur event, though the replacement will only happen after leaving the field. Other events seem to produce strange results.
Having said that, I prefer the functionality as it is. This is the way Word works for example, and it means users can add paragraphs if they want.
Using the Medium Editor, I sometimes added a note, eg:
Had to do it in code view. Remove is medium code. Refresh app connect panel. Then you can add your summernote editor. Just did 15 of them. Since all had the same options I just copied the is summernote code and replaced the is medium code in them all in code view. Only took about 5 minutes to do 15 editors.
Hi Teodor
The implementation of Summernote is fantastic and certainly satisfies many needs and is complete with all the most important settings.
What would be a very interesting plus is the possibility to save, load or modify templates for the content of the text area, thus providing the possibility to choose pre-set presentations (with tables, titles, colors, logos, ⦠. etc)
Somewhere in the past I had seen this possibility, but I donāt remember where.
You know something about this?
It would also be nice to have more control about the table, like define it as responsive, assign other bootstrap classes like bordered and last but not least define table header and footer rows
Hi,
Immediately I add summernote to my view, the design view immediately went blank. but toggling the App connect mode restore it (if appconnect is true, screen is blank, but if appconnect is false it is restored. Any tips please!
Wappler 3.0.0 Beta 5 Released
Hi I am wondering if there is a way to add alternative text values to images within summernote. When I select the image, the options do not allow me to add an alt text.
Sorry if I come back to a topic already partially discussed, but not yet resolved. Some time ago, even with your help, I found the way to insert the possibility to load templates into the Summernote toolbar.
It works perfectly and this often solves some of my needs. however it would be great if once you have edited or created an article, you could save the content in a new template
This would allow you to manage different versions of some templates
Has anyone by any chance found this solution?