Loading...
 
Skip to main content

External Link icon/option missing from wiki page edit toolbar and Admin Toolbar page after 48107

Status
Open
Subject
External Link icon/option missing from wiki page edit toolbar and Admin Toolbar page after 48107
Version
12.x Regression
Category
  • Regression
Feature
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
Not enough information
Submitted by
Tom Jarvis
Lastmod by
Philippe Cloutier
Rating
(1)
Description

The external link icon (Image ) and option are missing from the edit toolbar and the Admin Toolbar page after 48107. If you comment out 2 of the lines 48107 adds to branches/12.x/lib/toolbars/toolbarslib.php:

Copy to clipboard
// case 'link': // return new self( 'Link' );

Or revert back to 48106, then the external link icon will reappear on the edit toolbar and on the Admin Toolbar page.

The code that was added probably effects the external link toolbar option code farther down in toolbarslib.php:

Copy to clipboard
case 'link': $wysiwyg = 'Link'; $label = tra('External Link'); $icon = tra('img/icons/world_link.png'); $list = array('External Link',


This does not affect the parsing of the external link [] syntax.

Note: As of 11:49 AM CDT 1/6/2014, the External Link optin is missing from this edit session's tool bar.

Workaround

Edit lib/toolbars/toolbarslib.php. Find the first "case 'link':" statement added by commit 48107 "[FIX] Use CkEditor's Link and Unlink commands" and comment out that line and the next:

Copy to clipboard
// case 'link': // return new self( 'Link' );
Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5076
Created
Thursday 26 December, 2013 18:51:47 UTC
by Tom Jarvis
LastModif
Monday 08 January, 2018 18:08:46 UTC


Show PHP error messages