Home › Forums › Backend Issues (wp-admin) › Datapicker + TinyMCE WSYWIG
After the recent update to Version 5.6.2 appeared some number of issues. The last problem is vanishing calendar in datepicker, impossibility to save entered information (date, time), and the impossibility to add or remove additional fields.
The Chrome console says:
post.php?post=14450&action=edit:5517 Uncaught TypeError: Cannot set property ‘toolbars’ of undefined at post.php?post=14450&action=edit:5517
(anonymous) @ post.php?post=14450&action=edit:5517
acf-input.min.js?ver=5.6.2:1 Uncaught TypeError: Cannot read property ‘first_day’ of undefined
at Object.initialize (acf-input.min.js?ver=5.6.2:1)
at acf-input.min.js?ver=5.6.2:1
at c (acf-input.min.js?ver=5.6.2:1)
at Object.t (acf-input.min.js?ver=5.6.2:1)
at Object.do_action (acf-input.min.js?ver=5.6.2:1)
at HTMLTableCellElement.<anonymous> (acf-input.min.js?ver=5.6.2:1)
at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-selectable,jquery-ui-draggable,jquery&load[]=-ui-droppable,jquery-ui-slider,jquery-ui-button,jquery-ui-position,jquery-ui-resizable,jquery-ui-sortable,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,underscore,jquery-touch-punch,backbone,wp-util,wp-backbone,media-models,plupload,iris,wp-color-picker&ver=4.8.1:2)
at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-selectable,jquery-ui-draggable,jquery&load[]=-ui-droppable,jquery-ui-slider,jquery-ui-button,jquery-ui-position,jquery-ui-resizable,jquery-ui-sortable,jquery-ui-menu,wp-a11y&load[]=,jquery-ui-autocomplete,underscore,jquery-touch-punch,backbone,wp-util,wp-backbone,media-models,plupload,iris,wp-color-picker&ver=4.8.1:2)
at acf-input.min.js?ver=5.6.2:1
at c (acf-input.min.js?ver=5.6.2:1)
And post.php:5517 =
if( acf ) acf.tinymce.toolbars = {“full”:{“1″:”bold,italic,blockquote,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,table,fullscreen,undo,redo,wp_adv,spellchecker,tf_numbers,k2t_pre_shortcodes_button,revslider”,”2″:”formatselect,alignjustify,strikethrough,outdent,indent,pastetext,removeformat,charmap,wp_more,emoticons,forecolor,wp_help”,”3″:””,”4″:””},”basic”:{“1″:”bold,italic,underline,blockquote,strikethrough,bullist,numlist,alignleft,aligncenter,alignright,undo,redo,link,unlink,fullscreen”}};
As I understand, the problem is in TinyMCE editor and with the function which responsible for calling it.
Am I right or wrong? Any tips?
I’ve checked related topics 1 and 2but did not get an answer except the advice deactivate plugins.
initialize: function() {
this.$input.val(this.$hidden.val());
var e = $.extend({}, acf.l10n.date_picker, {
dateFormat: “yymmdd”,
altField: this.$hidden,
altFormat: “yymmdd”,
changeYear: !0,
yearRange: “-100:+100”,
changeMonth: !0,
showButtonPanel: !0,
firstDay: this.o.first_day//Uncaught TypeError: Cannot read property ‘first_day’ of undefined
});
The topic ‘Datapicker + TinyMCE WSYWIG’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.