Text-slicer: Tweaks to fix recently introduced bugs!

* Fixes problem with slicing wikitext tiddlers
* Adjusts position of heading expand/collapse icons in the view
template segment
This commit is contained in:
Jermolene 2015-09-22 12:57:53 +02:00
parent 90e0b6f555
commit 57c40a8a56
2 changed files with 8 additions and 1 deletions

View File

@ -26,6 +26,12 @@ var TW_TextNode = function(text) {
this.textContent = text;
};
Object.defineProperty(TW_TextNode.prototype, "nodeType", {
get: function() {
return 3;
}
});
Object.defineProperty(TW_TextNode.prototype, "formattedTextContent", {
get: function() {
return this.textContent.replace(/(\r?\n)/g,"");

View File

@ -75,6 +75,7 @@ tags: $:/tags/Stylesheet
}
.tc-tiddler-frame .tc-document-tiddler-toolbar {
left: 52px;
left: 0;
width: 42px;
}