Opened 9 years ago

Closed 8 years ago

#16005 closed defect (patchwelcome)

dijit.Editor. Changing foreground/background color loses focus

Reported by: philip Owned by:
Priority: undecided Milestone: tbd
Component: Editor Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:


Load this application and type some text into the editor window. Select a different foreground or background color. The editor window does not have focus after the change. If you set the color twice, it will have focus.

I verified this issue in IE9, FF15 and Chrome 21.

<!DOCTYPE html> 
<html > 

  <style type="text/css"> 
    body, html { width:100%; height:100%; margin: 0; padding:0; border:0; overflow:hidden;} 
    #rte_all { background-color: #f0f0f0; } 
    #rte_div { width:600px; height: 400px; overflow:hidden; border: none; } 

<link rel="stylesheet" href=""> 

<script>dojoConfig = {parseOnLoad: true}</script> 
<script src=''></script>
<body class="claro"> 

<div id="rte_all"> 
  <div id="rte_div" data-dojo-type="dijit/layout/BorderContainer"> 
    <div id="rte_container" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'"> 

      <div style="width:600px; height:400px;" data-dojo-type="dijit/Editor" id="editor2" data-dojo-props="extraPlugins:['foreColor','hiliteColor',{name:'dijit/_editor/plugins/FontChoice', command:'fontName', generic:true}, {name:'dijit/_editor/plugins/LinkDialog', command:'createLink'}]"> 
  <p>Editor body.</p> 



Change History (1)

comment:1 Changed 8 years ago by bill

Resolution: patchwelcome
Status: newclosed

Unlikely this will be fixed unless someone wants to supply a patch (including a test case).

Note: See TracTickets for help on using tickets.