Hello,
This seems to happen because the summernote scripts adds <p><br></p> in the textarea when it loads. Not sure if we can improve this behavior or will this be easy to fix, i see many bug reports about this in summernote github:
Is it possible that you have some whitespace character in the value.
The <p><br></p> is indeed added in an empty editor, but this is also detected as being empty and a placeholder should be shown. But <p> <br></p> will not show a placeholder, the space character is seen as content.
I initially just installed the new file and started to get the error and when I removed it it was still there.
I have removed all reference in the Layout page and content page include and then added a new textarea and turned into medium and ow I just get the warning âUnknown component found! medium-editorâ when I turn on App Connect Mode
But when I refresh the Wappler Design view the warning goes away.
I have also tried creating a new page and adding in the medium editor and I get the ânot definedâ
There must be something messed with your page includes, missing includes or missing comments. Not sure why do you have medium editor on the same page where you are using summernote?
I suggest to double check what exactly have you removed from the main page and what has left on the content page, as there may be old comments/includes left or you removed too much from the parent page.
As for the initial issue, i tested the latest update from Patrick, replaced the existing dmxAppConnect.js file an i can confirm it fixes the problem.
I tried reinstalling Wappler and starting with a new page, different project and just couldnât get it to work and just created more errors.
Maybe I replaced the file wrong, but just relaced the file and worked in Wappler but just showed a blank page in the browser.
Medium was on the page because I removed summernote to see if I could use Medium instead. But It just threw errors in Wappler even though it worked in the browser.
I will stick with Summernote and for now just hard code a place holder until an official fix is released.
The "official fix" is already posted in the topic. It will bundled with Wappler tomorrow, so no difference, the same file will be added in your project.
Well what can I tell you?? I replaced this file and It breaks my app as described. Unless there are special instructions for replacing the file? Lets see how everyone else using Summernote fairs.
Nothing special about replacing the file. You just replace the existing file in the âdmxAppConnectâ folder and thatâs all.
The errors you posted have nothing to do with it, they show wrong/missing includes on the main page or components used on the content page without their includes available on the main page.
I tested this on an existing site and on a new site, both NodeJS sites with content pages based on layouts. The fix Patrick provided works perfectly fine.
I was able to reproduce this with a datepicker on the page. Seems the fix for summernote caused some issues with the datepicker, so we will fix it for todayâs update.
Thanks for reporting this and great that you noticed it, as i missed this in my tests