Dennis Suitters

Results 212 comments of Dennis Suitters

Thanks @1der1 , @jameslfc 1der1 is correct, the execCommand is what is currently responsible for formatting the majority of elements used in the editing area. Without looking at the source,...

I've had a play a couple of times, and I like the stuff you've added, please feel free to share snippets and we'll work out a way of incorporating them.

> Thank you, Dennis. The basic snippet is: > > ```js > if(!g_Chrome || ($editable.find('li').length === 0)) { > document.execCommand('FormatBlock', false, tagName); // Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=372925&thanks=372925&ts=1400009358 > } else {...

The hint to the solution is in the first code you shared above. Rather than just create an `` element, do something like: ````javascript var pic='`; var image=$(pic); ```` Then...

You can also use the `srcset` attribute inside `` elements, as well as `loading="lazy"` for images below the fold.

As this has been open for more than 14days since the last interaction, I'm hoping you managed to resolve your issue. If you still require help, please repopn, or create...

There was a PR merged recently after the 0.8.18 release, you may need to build Summernote locally to try it.

@1der1 is correct, in that you may need to adjust your AJAX script to wait for the data to be returned.

Exactly, the speed that the data is fetched will depend on connection speed, optimisation of code, and so on.

Someone probably tried to improve the function. Not sure why it would have needed it myself, but I don't use the hint function with my needs. If you want to...