From 0b4c4fca318051fdbed6e17696be0ff614079d54 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Thu, 17 Jan 2019 01:21:36 -0200 Subject: [PATCH] migra tinymce --- sapl-frontend/package.json | 5 +++-- sapl-frontend/src/global/functions.js | 6 ------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sapl-frontend/package.json b/sapl-frontend/package.json index 1d81b3f74..7aa4b968e 100644 --- a/sapl-frontend/package.json +++ b/sapl-frontend/package.json @@ -10,13 +10,14 @@ "dependencies": { "@fortawesome/fontawesome-free": "^5.6.3", "bootstrap": "^4.2.1", - "bootstrap-material-design": "^4.1.1", "dotenv": "^6.2.0", "jquery": "^3.3.1", "jquery-mask-plugin": "^1.14.15", - "jquery-ui-themes": "^1.12.0", "popper.js": "^1.14.6", + "jquery-ui-themes": "^1.12.0", "sapl-oficial-theme": "../../sapl-oficial-theme", + "tinymce": "^4.9.2", + "tinymce-light-skin": "^1.3.1", "vue": "^2.5.21", "vue-router": "^3.0.1", "vuex": "^3.0.1", diff --git a/sapl-frontend/src/global/functions.js b/sapl-frontend/src/global/functions.js index fc2f9bc20..14b83b257 100644 --- a/sapl-frontend/src/global/functions.js +++ b/sapl-frontend/src/global/functions.js @@ -118,7 +118,6 @@ window.autorModal = function() { get_nome_autor("#id_autoria__autor");*/ }; - window.refreshMask = function () { $('.telefone').mask("(99) 9999-9999", {placeholder:"(__) ____ -____"}); $('.cpf').mask("000.000.000-00", {placeholder:"___.___.___-__"}); @@ -131,8 +130,3 @@ window.refreshMask = function () { $('.timeinput').mask("00:00:00", {placeholder:"hh:mm:ss"}); $('.cronometro').mask("00:00:00", {placeholder:"hh:mm:ss"}); } - -window.refreshDatePicker = function() { - $.datepicker.setDefaults($.datepicker.regional['pt-BR']); - $('.dateinput').datepicker(); -} \ No newline at end of file