contextMenu : function(toolbar)
{
- console.log("htmleditor.BlockTd contextMenu");
- console.log(toolbar);
var cell = function() {
return Roo.htmleditor.Block.factory(toolbar.tb.selectedNode);
*/
toObject : function()
{
- console.log("htmleditor.BlockTd toObject");
var ret = {
tag : 'td',
contenteditable : 'true', // this stops cell selection from picking the table.
readElement : function(node)
{
- console.log("htmleditor.BlockTd readElement");
- console.log(node);
node = node ? node : this.node ;
this.width = node.style.width;
this.colspan = Math.max(1,1*node.getAttribute('colspan'));