Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1470
XamRichTextEditor - HTML - Standard Template
posted

Hi there

We got an issue with the XamRichtTextEditor. We want to change the Default Size&Font when adding new Text.

I found the following forum thread:

https://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/101619/default-font-name-and-size

But this changes the complete document. Is there a way to change it only for a blank document or newly added text? And when do i have to add these instances like "CharacterSettings" to the document, so they don't get overriden by the databound DocumentAdapter?

Also ich checked the local installed samples. In xamRichTextEditor/Data/Document Adapters, it produces an empty template with this style:

        p.MsoNormal, li.MsoNormal, div.MsoNormal {
            font-size: 11pt;
            font-family: 'Calibri';
            margin-bottom: 10pt;
            margin-top: 0pt;
            line-height: 1.15;
        }

Is it possible to change this template to our needs?

Regards

Parents
No Data
Reply
  • 29065
    Offline posted

    Hello,

    After investigating this there is no out of the box way to provide custom default size & font when adding new Text or blank documents for the XamRichTextEditor and doing some research, this has been determined to be a product idea. You can suggest new product ideas for future versions (or vote for existing ones) on our ideas site.

    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it.   You can also link back to this thread for additional details.

    Thank you in advance to submitting your product idea.

Children
No Data