NorfolkGreg wrote: ↑Thu Nov 04, 2021 10:18 am
Normally, I say it was probably a minor mis-keying that did that, but having looked at your Irish Pub site I know you have the skills to avoid any obvious mistypings. More likely you're right and it was a bug in Summernote.
I confess I hate what the Summernote editor does to one's carefully crafted and neatly indented code, but that's pretty standard for WYSIWYG code editors and, I guess, has to be tolerated, so one's users don't have to be intimidated into learning how to wrap content in a few simple HTML tags. I haven't checked but I strongly suspect that if I removed Summernote I could retain my JavaScript and keep email addresses cloaked.
Well that's very kind of you to say so.
A lot of Wonder CMS's development is tied up in Summernote, which makes things tricky for Wiz and co. I edited the site the other day using it and it all worked like a dream, but I won't be poking around in the source code without making a full backup!
My main concern right now is the image handling, every other week I have to run behind a client and edit the images they upload, because there's no resizing / resaving happening, so clients are uploading huge images to their site and obviously it kills performance.
I'm also changing my mind about having the save be automatic. I had a client do half an edit on their site, delete a load of things and then he was called away, but of course all his edits up to that point had been saved and were active on the live site so it was a huge mess and I had to quickly upload an old version, so I think that will need changing to force the user to explicitly save their updates. Be handy if they could store their edits in a temp file so they get the best of both worlds.
Only so many hours in the day, I wish I knew more about PHP / JSON so I could help them out.