]> git.mjollnir.org Git - moodle.git/commitdiff
Improvement to table editing. If table border is set to zero
authorjulmis <julmis>
Wed, 3 Dec 2003 17:34:41 +0000 (17:34 +0000)
committerjulmis <julmis>
Wed, 3 Dec 2003 17:34:41 +0000 (17:34 +0000)
you'll still see the dotted border.

lib/editor/htmlarea.php

index 27e88de41fd78d9e3387fc60f49014958a4d64b8..6192f63a5637206ef61599c025bc904110230c19 100644 (file)
@@ -742,7 +742,7 @@ HTMLArea.prototype.generate = function () {
                        doc.open();
                        var html = "<html>\n";
                        html += "<head>\n";
-                       html += "<style>" + editor.config.pageStyle + "</style>\n";
+                       html += "<style>" + editor.config.pageStyle + " td { border: 1px dotted gray; }</style>\n";
                        html += "</head>\n";
                        html += "<body>\n";
                        html += editor._textArea.value;