#2370: MediaWiki 1.13 + FCKeditor - Image button search and preview not working
--------------------------------------------+-------------------------------
  Reporter:  tybeede                        |       Owner:                   
      Type:  Bug                            |      Status:  new              
  Priority:  Normal                         |   Milestone:                   
 Component:  Project : MediaWiki+FCKeditor  |     Version:  SVN              
Resolution:                                 |    Keywords:  Confirmed Review?
--------------------------------------------+-------------------------------

Comment(by wwalc):

 Looks good, but when an image is found and selected, it isn't displayed in
 the editor. This is probably due to a bug introduced in #2223.

 When `[[Image:FooBar.jpg]]` is parsed and changed into image tag to get
 link to a real image using src attribute:
 {{{
 $originalLink = $parser->parse("[[Image:".$term."]]", $wgTitle,
 $options)->getText();
 if (false == strpos($originalLink, "src=\"")) {
         return "";
 }

 $srcPart = substr($originalLink, strpos($originalLink, "src=")+ 5);
 }}}

 we don't get there an `<img>` tag but a link.
 So if #2223 will be fixed, this ticket can be reviewed properly.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2370#comment:8>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to