mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-25 23:03:15 +00:00
Remove old code
Experimental code, accidentally committed
This commit is contained in:
parent
abcb2d3a1c
commit
74bd6e8232
|
@ -151,11 +151,6 @@ Slicer.prototype.sliceTiddler = function(title) {
|
||||||
nodeType = domNode.nodeType;
|
nodeType = domNode.nodeType;
|
||||||
if(nodeType === 1) {
|
if(nodeType === 1) {
|
||||||
var tagName = domNode.tagName.toLowerCase();
|
var tagName = domNode.tagName.toLowerCase();
|
||||||
|
|
||||||
if(tagName === "p" && (domNode.getAttribute("style") || "").indexOf("mso-list:") !== -1) {
|
|
||||||
tagName = "li";
|
|
||||||
}
|
|
||||||
|
|
||||||
if(tagName === "h1" || tagName === "h2" || tagName === "h3" || tagName === "h4") {
|
if(tagName === "h1" || tagName === "h2" || tagName === "h3" || tagName === "h4") {
|
||||||
if(!isBlank(text)) {
|
if(!isBlank(text)) {
|
||||||
parentTitle = popParentStackUntil(tagName);
|
parentTitle = popParentStackUntil(tagName);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user