Select Page

Category: Misc

Tips, Scripts, Tools, Bookmarks, and Inspiration for Web Designers and Developers.

Why use front-end frameworks like Bootstrap 5?

Why use front-end frameworks like Bootstrap 5?

Why use front-end frameworks like Bootstrap 5? Front-end frameworks have become a crucial part of modern web development. They offer a set of tools and components that simplify the process of creating professional, responsive, and user-friendly websites. One of the...
Allow numbers and new line in textarea using JavaScript

Allow numbers and new line in textarea using JavaScript

Textareas are commonly used in web forms to allow users to enter multi-line text input. By default, textareas allow users to enter any character they want, including letters, numbers, symbols, and line breaks. However, in some cases, you may want to restrict the input...

How to create HTML hidden templates in a page?

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”...

How to remove the p tag automatically added by CKEditor?

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,...
Hot to allow using all HTML tags in CK Editor 4

Hot to allow using all HTML tags in CK Editor 4

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;...