htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Classes;
Nested ol/ul list should be inside a <li> element of the list in which it is nested. For example:
<ul>
htmlProvider.ExportSettings.StylesExportMode = StylesExportMode.Inline;
With a picture of original size like this : width 2 800 and Height 1376. On the screen the picture is around 470 by 230. If I go to the Image Editor, it shows me the picture size itself but not the area size used by the picture. It is a good thing to have the original picture's dimension but we work with the dimension used in the document. So, could you do something to resize the picture used in the document.
In my samples, you'll see my picture in a document (ie1), what I see when I go in the Image Editor (ie2) and, when I go to the Resize section (ie3). Suggestion, put the original image's dimension on the top of the right corner in the resize section. The width and Height should show the dimension in the document.
Thanks a lot,
var image =
this
.radRichTextBox.Document.EnumerateChildrenOfType<ImageInline>().First();
if
(image.Height == 10 && image.ImageSource.DecodePixelHeight == 0)
{
image.Height = image.ImageSource.Height;
}
In MS Word, there is an option to show gridlines over the pages of the document. Implement such an option in RadRichTextBox as well.
Workaround: The attached project offers a simple custom implementation.
private
void
RadRichTextBox_CommandExecuting(
object
sender, Telerik.Windows.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
if
(e.Command
is
PasteCommand &&
this
.radRichTextBox.Document.IsEmpty)
{
this
.radRichTextBox.Insert(
" "
);
}
}