Your IP : 3.138.60.175


Current Path : /home/lentoinv/finationglobal.com/arch/assets/js/
Upload File :
Current File : /home/lentoinv/finationglobal.com/arch/assets/js/form-editor2.js

$(function() {
	'use strict'
	var icons = Quill.import('ui/icons');
	icons['bold'] = '<i class="fa fa-bold" aria-hidden="true"><\/i>';
	icons['italic'] = '<i class="fa fa-italic" aria-hidden="true"><\/i>';
	icons['underline'] = '<i class="fa fa-underline" aria-hidden="true"><\/i>';
	icons['strike'] = '<i class="fa fa-strikethrough" aria-hidden="true"><\/i>';
	icons['list']['ordered'] = '<i class="fa fa-list-ol" aria-hidden="true"><\/i>';
	icons['list']['bullet'] = '<i class="fa fa-list-ul" aria-hidden="true"><\/i>';
	icons['link'] = '<i class="fa fa-link" aria-hidden="true"><\/i>';
	icons['image'] = '<i class="fa fa-image" aria-hidden="true"><\/i>';
	icons['video'] = '<i class="fa fa-film" aria-hidden="true"><\/i>';
	icons['code-block'] = '<i class="fa fa-code" aria-hidden="true"><\/i>';
	var toolbarOptions = [
		[{
			'header': [1, 2, 3, 4, 5, 6, false]
		}],
		['bold', 'italic', 'underline', 'strike'],
		[{
			'list': 'ordered'
		}, {
			'list': 'bullet'
		}],
		['link', 'image', 'video']
	];
	var quill = new Quill('#quillEditor', {
		modules: {
			toolbar: toolbarOptions
		},
		theme: 'snow'
	});
	var quillModal = new Quill('#quillEditorModal', {
		modules: {
			toolbar: toolbarOptions
		},
		theme: 'snow'
	});
	var quillModal2 = new Quill('#quillEditorModal2', {
		modules: {
			toolbar: toolbarOptions
		},
		theme: 'snow'
	});
	var toolbarInlineOptions = [
		['bold', 'italic', 'underline'],
		[{
			'header': 1
		}, {
			'header': 2
		}, 'blockquote'],
		['link', 'image', 'code-block'],
	];
	var quillInline = new Quill('#quillInline', {
		modules: {
			toolbar: toolbarInlineOptions
		},
		bounds: '#quillInline',
		scrollingContainer: '#scrolling-container',
		placeholder: 'Write something...',
		theme: 'bubble'
	});
	new PerfectScrollbar('#scrolling-container', {
		suppressScrollX: true
	});
});

?>