1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-09 18:28:07 +00:00

Revert "Add default settings for styled inline SPANs (#6877)" because of failed tests

This reverts commit 23e0eeb556.
This commit is contained in:
jeremy@jermolene.com
2022-10-07 18:43:09 +01:00
parent 23e0eeb556
commit 6f98edd6bd
23 changed files with 5 additions and 62 deletions

View File

@@ -41,6 +41,9 @@ exports.parse = function() {
var node = {
type: "element",
tag: "span",
attributes: {
"class": {type: "string", value: "tc-inline-style"}
},
children: tree
};
if(classString) {
@@ -49,9 +52,6 @@ exports.parse = function() {
if(stylesString) {
$tw.utils.addAttributeToParseTreeNode(node,"style",stylesString);
}
if(!classString && !stylesString) {
$tw.utils.addClassToParseTreeNode(node,"tc-inline-style");
}
return [node];
};