mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
Allow extensions to set more options to encapsulateExpansionHTML
The nowiki extension will want to override `isForeignContent` so that about attributes are omitted on the contents. Change-Id: Iea28d7a66a90d516226ba9dce4518be6b996d18e
This commit is contained in:
parent
b4d7a158cd
commit
26984c0294
|
@ -758,7 +758,9 @@ var Cite = function() {
|
|||
{
|
||||
name: 'ref',
|
||||
toDOM: this.ref.toDOM.bind(this.ref),
|
||||
unwrapContent: false,
|
||||
fragmentOptions: {
|
||||
unwrapFragment: false,
|
||||
},
|
||||
serialHandler: this.ref.serialHandler, // FIXME: Rename to toWikitext
|
||||
lintHandler: this.ref.lintHandler,
|
||||
// FIXME: Do we need (a) domDiffHandler (b) ... others ...
|
||||
|
|
Loading…
Reference in a new issue