Skip to content

Commit 788904e

Browse files
Gutenberg demo created. Small bug fixed.
1 parent dfdfaf3 commit 788904e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Example/Example/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ViewController: UITableViewController
2121
]
2222
),
2323
DemoSection(title: "WordPressEditor (Calypso & Gutenberg)", rows: [
24-
DemoRow(title: "Standard Demo", action: { self.showEditorDemo(filename: "content", wordPressMode: true) }),
24+
DemoRow(title: "Gutenberg Demo", action: { self.showEditorDemo(filename: "gutenberg", wordPressMode: true) }),
2525
DemoRow(title: "Empty Demo", action: { self.showEditorDemo() })
2626
]
2727
),

WordPressEditor/WordPressEditor/Classes/Plugins/WordPressPlugin/Gutenberg/CommentNode+Gutenberg.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public extension CommentNode {
99
// MARK: - Opener & Closer Identification
1010

1111
func isGutenbergBlockCloser(forOpener opener: CommentNode) -> Bool {
12-
return isGutenbergBlockCloser(forOpener: opener) && canAssociate(opener: opener, withCloser: self)
12+
return isGutenbergBlockCloser() && canAssociate(opener: opener, withCloser: self)
1313
}
1414

1515
private func isGutenbergBlockCloser() -> Bool {

0 commit comments

Comments
 (0)