React
Add images of various formats via the buttons in the demo below See the Pen ReactJS CSS Grid Builder – Auto Flow Demo by Puneet Sharma (@webdevpuneet) on CodePen.
Misc
We can create an HTML hidden template using the following method that we can add anywhere in the page. After creating a template we can now use it, modify it, and append/prepend it’s html anywhere in the page. <script id=”imageTemplate”...
jQuery
chek the following jQuery script to open a modal on a button click. $(‘.btn-trash’).click(function(){ $(“#deleteTriggerModal”).modal(‘show’); });
Misc
Use the following setting to make your ckeditor’s output p tag free that is automatically included by ckeditor.whenever you start writing something. autoParagraph: false, CKEDITOR.replace(‘editor1’, { uiColor: ‘#dadada’, height: 250,...
Misc
You need to add these settings where you have initiated editor. CKEDITOR.replace(‘ckeditortextarea’, { allowedContent: true, fullPage: true, }); or by this method.. var config = CKEDITOR.replace( ‘editor1’ ); config.allowedContent = true;...