kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Use inline parsing for header and footer of modals
This may cause backwards compatibility problems for people relying on the block mode parsing, but it’s much better for the rest of us as it avoids an unsightly paragraph tagprint-window-tiddler
rodzic
22b7400de8
commit
421ac16389
|
@ -70,6 +70,7 @@ Modal.prototype.display = function(title,options) {
|
|||
// Render the title of the message
|
||||
var headerWidgetNode = this.wiki.makeTranscludeWidget(title,{
|
||||
field: "subtitle",
|
||||
mode: "inline",
|
||||
children: [{
|
||||
type: "text",
|
||||
attributes: {
|
||||
|
@ -112,6 +113,7 @@ Modal.prototype.display = function(title,options) {
|
|||
}
|
||||
var footerWidgetNode = this.wiki.makeTranscludeWidget(title,{
|
||||
field: "footer",
|
||||
mode: "inline",
|
||||
children: [{
|
||||
type: "button",
|
||||
attributes: {
|
||||
|
|
Ładowanie…
Reference in New Issue