mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-27 05:46:55 +00:00
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:
parent
90e0b6f555
commit
57c40a8a56
@ -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,"");
|
||||
|
@ -75,6 +75,7 @@ tags: $:/tags/Stylesheet
|
||||
}
|
||||
|
||||
.tc-tiddler-frame .tc-document-tiddler-toolbar {
|
||||
left: 52px;
|
||||
left: 0;
|
||||
width: 42px;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user