javascript - TypeError: tinymce.get(...) is null - Does not seem to be finding ID properly -


I'm using tinyies in Wordpress for some custom requirements. I was doing it, but now I feel that it was not the first to throw an error

with firebug :

type error: tinymce .get (...) is zero

geqqo_new: tinymce However, things look perfectly appropriate - they were working before - so please check me twice:

JS :

  tinym Ce.get ('geqqo-editor-new'). GetContent ()   

Generated HTML :

  & lt; Form action = "" method = "post" target = "_ blank" & gt; & Lt; Div id = "wp-geqqo-editor-new-wrap" class = "wp-core-ui wp-editor-wrap html-active" & gt; & Lt; Link rel = 'stylesheet' id = 'editor-buttons-css' href =' http: //localhost/hawaii/somelocal/wp-includes/css/editor.min.css? Ver = 3.9 'type =' Text / CSS 'media =' All '/> & Lt; Div id = "wp-geqqo-editor-new-editor-tools" class = "wp-editor-tools hide-if-no-js" & gt; & Lt; Div id = "wp-geqqo-editor-new-media-buttons" class = "wp-media-buttons" & gt; & Lt; A href = "#" id = "insert-media-button" class = "button dot-media add_media" data-editor = "gekako-editor-new" title = "add media" & gt; & Lt; Span class = "wp-media-buttons-icon" & gt; & Lt; / Span & gt; Add Media & lt; / A & gt; & Lt; / Div & gt; & Lt; Div class = "wp-editor-tabs" & gt; An id = "geqqo-editor-new-html" class = "wp-switch-editor switch-html" onclick = "switch editors. Switchto (this);" & gt; Text & lt; / A & gt; & Lt; An id = "geqqo-editor-new-tmce" class = "wp-switch-editor switch-tmce" onclick = "switch editors. Switchto (this);" & Gt; Visuals & lt; / A & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Div id = "wp-geqqo-editor-new-editor-container" class = "wp-editor-container" & gt; Textarea class = "wp-editor-area" rows = "20" autocomplete = "closed" cols = "40" name = "content" id = "geqqo-editor-new" & gt; & Lt; / Textarea & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Form & gt;   

So with all the thoughts, why did I get an error mentioned above?

In addition, it is using the TinyMax functionality of WordPress, so perhaps a curve-ball was thrown into this latest version?

Take action from this step and see if they fix the problem

  1. Change your existing theme with 2014

  2. Disable all plugins < / Li>

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -