mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-11 14:13:47 +00:00
Skip unsuppored blocks in IV.
This commit is contained in:
@@ -1640,9 +1640,7 @@ void ClearPreparedEditSources(std::vector<PreparedBlock> *blocks) {
|
||||
}
|
||||
switch (block.kind) {
|
||||
case RichPageBlockKind::Unsupported:
|
||||
return PrepareNativeIvPlainPlaceholderBlock(
|
||||
u"Unsupported Content"_q,
|
||||
result);
|
||||
return true;
|
||||
case RichPageBlockKind::Heading:
|
||||
return AppendNativeIvFlowBlock(
|
||||
result,
|
||||
@@ -1848,9 +1846,7 @@ void ClearPreparedEditSources(std::vector<PreparedBlock> *blocks) {
|
||||
path,
|
||||
PrepareNativeIvMapBlock);
|
||||
}
|
||||
return PrepareNativeIvPlainPlaceholderBlock(
|
||||
u"Unsupported Content"_q,
|
||||
result);
|
||||
return true;
|
||||
}
|
||||
|
||||
[[nodiscard]] bool PrepareCanonicalNativeIvBlocks(
|
||||
|
||||
Reference in New Issue
Block a user