-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.js
More file actions
64 lines (64 loc) · 1.84 KB
/
config.js
File metadata and controls
64 lines (64 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* Setup Settings for javascript libraries */
toastr.options = {
"closeButton": false,
"debug": false,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toast-bottom-right",
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "2000",
"extendedTimeOut": "4000",
"showEasing": "linear",
"hideEasing": "linear",
"showMethod": "slideDown",
"hideMethod": "fadeOut"
}
jQuery.minicolors = {
defaults: {
animationSpeed: 50,
animationEasing: 'swing',
change: null,
changeDelay: 0,
control: 'hue',
dataUris: true,
defaultValue: '',
format: 'rgb',
hide: null,
hideSpeed: 100,
inline: false,
keywords: '',
letterCase: 'lowercase',
opacity: true,
position: 'bottom left',
show: null,
showSpeed: 100,
theme: 'bootstrap',
swatches: []
}
};
var titan_editor_tinymce_init = function(){
tinymce.editors=[];
tinymce.init({
selector: '.tem_rich_textarea',
height: 500,
plugins: [
"advlist autolink lists link image charmap print preview anchor",
"searchreplace visualblocks code fullscreen textcolor colorpicker",
"insertdatetime media table contextmenu paste imagetools"
],
toolbar: "insertfile undo redo | styleselect | bold italic | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
imagetools_cors_hosts: ['www.tinymce.com', 'codepen.io'],
content_css: [
'//fast.fonts.net/cssapi/e6dc9b99-64fe-4292-ad98-6974f93cd2a2.css',
'//www.tinymce.com/css/codepen.min.css'
],
setup : function(ed) {
ed.on('change', function(e) {
temSaveRichTextEditor(ed);
});
}
});
}