Sha256: 86fde09082fd7ba5cff07f4ba906f25e073601d0ac28d662691e9094c32056bf
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
<!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> .section { text-align: center; margin-top: 10px; } .section input { margin-left: 5px; width: 70px; } </style> </head> <body> <div class="section"> <span><var id="lang_tdBkColor"></var></span> <input type="text" id="J_tone"/> </div> <%= javascript_include_tag 'ueditor/dialogs/internal.js' %> <script type="text/javascript"> var tone = $G("J_tone"), colorPiker = new UE.ui.ColorPicker({ editor: editor }), colorPop = new UE.ui.Popup({ editor: editor, content: colorPiker }); domUtils.on(tone, "click", function () { colorPop.showAnchor(tone); }); domUtils.on(document, 'mousedown', function () { colorPop.hide(); }); colorPiker.addListener("pickcolor", function () { tone.value = arguments[1]; colorPop.hide(); }); colorPiker.addListener("picknocolor", function () { tone.value = ""; colorPop.hide(); }); dialog.onok = function () { editor.execCommand("edittd", tone.value); }; </script> </body> </html>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ueditor_rails4-0.0.5 | vendor/assets/javascripts/ueditor/dialogs/table/edittd.html.erb |
ueditor_rails-0.0.4 | vendor/assets/javascripts/ueditor/dialogs/table/edittd.html.erb |