Just to update this, I’m noticing that sometimes it displays and sometimes it does not. If it doesn’t display, often it is fixed by switching the edit mode to text, and then back to visual. Not all the time though.
I also tried disabling all plugins, and nothing changed.
Is no one else experiencing this? I’m not sure how to debug it. I don’t see any Javascript errors about this.
I’m seeing it also, since probably the last month or so. It’s annoying. After the dialog fails to show, I lose the ability to scroll the page with the mouse wheel (until I publish or update the article).
I’ve resorted to inserting links by typing in the code.
In another post, someone mentioned disabling “Adblock” in the browser. But it’s already disabled for my own websites, and shows gray (disabled) on the button bar in Firefox.
I just found a plugin that has a link button that brings up a working dialog:
Extensible HTML Editor Buttons
Unfortunately, it didn’t have the option to open the link in a new window (target=”_blank”). So I edited the form dialog code (in /display/dialogs.html) so that the last <div> section in the html file looks like this:
<div id=”buttonable_link_dialog” title=”Link Tag” class=”buttonable_dialog”>
<form id=”buttonable_link_form”>
<table class=”form-table”>
<tr>
<th><label for=”buttonable_link_href”>Href:</label></th>
<td><input type=”text” name=”href” id=”buttonable_link_href” size=”30″ /></td>
</tr>
<tr>
<th><label for=”buttonable_link_name”>Target:</label></th>
<td><input type=”text” name=”target” id=”buttonable_link_name” value=”_blank” size=”30″ /></td>
</tr>
<tr>
<th><label for=”buttonable_link_id”>ID:</label></th>
<td><input type=”text” name=”id” id=”buttonable_link_id” size=”30″ /></td>
</tr>
<tr>
<th><label for=”buttonable_link_class”>Class:</label></th>
<td><input type=”text” name=”class” id=”buttonable_link_class” size=”30″ /></td>
</tr>
<tr>
<th><label for=”buttonable_link_style”>Style:</label></th>
<td><input type=”text” name=”style” id=”buttonable_link_style” size=”30″ /></td>
</tr>
</table>
<p><input type=”submit” name=”buttonable_link_submit” value=”Add Link” class=”button-secondary” /></p>
</form>
</div>
I just renamed the “Name:” item to “Target:” and put in a predefined value of “_blank”. That way it is prefilled with the value I want, and I just have to paste in the URL in the Href field and it’s good to go.
TinyMCE Advanced has an option to replace the link button which presents this dialog instead: http://i.imgur.com/8RO5eOV.png
I have the same problem. The link dialog does not show up. This happens since the update to 4.5.2.
MarkRH, I tried TinyMCE Advanced, but it didn’t work either, because it enhances the visual editor, not the text one. And that is the source of the problem.
In my user account, I have the option turned on to disable the visual editor. I did this way back because I didn’t want it messing with my html.
If I turn on the visual editor, then the original link dialog shows again, in either the visual or text editor tab. Likewise, obviously, TinyMCE works as well.
So the problem, I’m assuming, only shows up if you have the visual editor turned off.
Therefore, the latest WordPress versions seem to be making assumptions with the Link dialog, that the visual editor is there, and when it isn’t, it breaks.
That is what I am guessing.