Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to add multiple quill rich text editor

var editorId = ["#addCorpEditor", "#editCorpEditor", "#addOtherEditor", "#editOtherEditor", "#addAnnexureEditor", "#editAnnexureEditor"];

for(editor of editorId){
	createEditor(editor);
}

function createEditor(selector) {
  let quill = new Quill(selector, {
    theme: 'snow',
    placeholder: 'Add your content here',
  });
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: how to end tsc main --watch 
Javascript :: nodejs Websocket chat room 
Javascript :: where to make the hooks functions 
Javascript :: how to merge data react native 
Javascript :: firebase recaptcha using react js 
Javascript :: minutes to seconds javascript 
Javascript :: the specified value cannot be parsed or is out of range javascript 
Javascript :: botstrap 5 
Javascript :: sequilize join two tables and find 
Javascript :: accessing parents DOM 
Javascript :: 4.6.3. Order of Operations¶ 
Javascript :: javascript date set day of week 
Javascript :: Public properties can be created via Instance public fields 
Javascript :: js wrap a function pass parameters to function 
Javascript :: Uncaught TypeError: document.getElementsByClassName(...).style is undefined 
Javascript :: how to use window.alert in javascript 
Javascript :: how to test conditional rendering vue test utils 
Javascript :: battery status check on user machine 
Javascript :: "date change error" 
Javascript :: how to customize reactnative view dropshadow 
Javascript :: date filter in angular 8 
Javascript :: js regexp eth wallet 
Javascript :: GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN" electronjs 
Javascript :: elementor slider javascript edit 
Javascript :: loop through async javascript -5 
Javascript :: return inner range recursive 
Javascript :: borrar line vscode 
Javascript :: react 1 to 10 rating 
Javascript :: How to check for the properties of an element in the console 
Javascript :: ProgressBar from color to color 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =