Skip to content

Commit

Permalink
fbobjc/Libraries/LexicalPlugins
Browse files Browse the repository at this point in the history
Reviewed By: ebgraham

Differential Revision: D53077792

fbshipit-source-id: 06bd97b1e71d8b82cf5846c3bfea6ff507c41559
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Jan 27, 2024
1 parent 31839cb commit 27c9889
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ public class ImageNode: DecoratorNode {
try super.init(from: decoder)
}

override public func encode(to encoder: Encoder) throws {
try super.encode(to: encoder)
}

override public func clone() -> Self {
Self(url: url?.absoluteString ?? "", size: size, sourceID: sourceID, key: key)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ public class SelectableImageNode: SelectableDecoratorNode {
return .selectableImage
}

override public func encode(to encoder: Encoder) throws {
try super.encode(to: encoder)
}

override public func clone() -> Self {
Self(url: url?.absoluteString ?? "", size: size, sourceID: sourceID, key: key)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ public class ListItemNode: ElementNode {
try super.init(from: decoder)
}

override open func encode(to encoder: Encoder) throws {
try super.encode(to: encoder)
}

override public func clone() -> Self {
Self(key)
}
Expand Down
4 changes: 0 additions & 4 deletions Plugins/LexicalListPlugin/LexicalListPlugin/ListNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ public class ListNode: ElementNode {
return node
}

override public func encode(to encoder: Encoder) throws {
try super.encode(to: encoder)
}

override public func clone() -> Self {
Self(listType: listType, start: start, key: key)
}
Expand Down
4 changes: 0 additions & 4 deletions Plugins/LexicalTablePlugin/LexicalTablePlugin/TableNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ public class TableNode: DecoratorNode {
.table
}

override public func encode(to encoder: Encoder) throws {
try super.encode(to: encoder)
}

override public func clone() -> Self {
Self(numColumns: numColumns, numRows: numRows, rows: rows, key: key)
}
Expand Down

0 comments on commit 27c9889

Please sign in to comment.