Hello Mihajlo,
This is considered an issue. This is why I have logged it on our feedback portal. You can track its progress, subscribe to status changes and add your comment to it here. I have updated your Telerik points as well.
Unfortunately due to the nature of the issue, I cannot suggest a workaround for it. What I can suggest is to inherit the RichTextEditorRibbonBar and override the method that shows the table tabs:
class CustomRichTextEditorRibbonBar : RichTextEditorRibbonBar
{
public CustomRichTextEditorRibbonBar()
{
}
protected override void HandleTableStylePropertiesOnCurrentEditingStyleChanged()
{
Paragraph p = this.GetCurrentParagraph();
if (p == null)
{
return;
}
TableCell cell = p.Parent as TableCell;
var isInRange = this.associatedRichTextEditor.Document.GetContainingAnnotationRanges<ReadOnlyRangeStart>(p.Inlines.First);
if (isInRange.Any())
{
return;
}
base.HandleTableStylePropertiesOnCurrentEditingStyleChanged();
}
}
Let me know if you have any other questions.
Regards,
Dimitar
Progress Telerik
Progress is here for your business, like always.
Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.