Git Product home page Git Product logo

d365richtexteditor's Introduction

Hi I'm Chris ๐Ÿ‘‹

Senior Full-Stack-Developer (.NET โ‹† Dynamics 365 / CRM โ‹† Azure โ‹† Angular โ‹† ScrumMaster) in ๐Ÿบ Munich / Germany Area.

My Stack

C# .NET .NET Core Azure Dynamics 365 Docker Power Platform

Frontend

Angular React TypeScript HTML5 CSS3 JavaScript Nodejs SCSS

Database

MS SQL Server Azure SQL SSIS

Others

Azure Devops Git JIRA GitHub Kubernetes Terraform

VS Code VS

Windows

SCRUM

Connect with me:

LinkedIn


ChrisMayor's github stats

d365richtexteditor's People

Contributors

chrismayor avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hansgfixed

d365richtexteditor's Issues

Problem with "empty" control

Given: A field on a form with attached D365RichTextEditor control.

a) Open fresh form and inspect this field value: Xrm.Page.getAttribute( "fieldName").getValue() will return null. So far, so good
b) Enter some text into control and then remove all text. Value returned will be "<p><br></p>". Expected value is null
c) Enter some spaces into control and save. Refresh form (F5) and control will stop showing these spaces but value returned will be still "<p> </p>". Expected value is null because built-in controls trim strings on save. I think that text consisting of only spaces and new lines should be treated (and saved) as null too.

Why this is important: I have some validation logic on form that checks if certain fields are filled or not. With built-in controls this is easy, just compare with null. But now we have new unexpected states of data. Can you please make this control to be more compliant with system`s way of saving strings?

Control doesn't show updated content (getAttribute.setValue)

Hi,

onChange of Field A, we load text from another entity in the content of the RichText-field.
formContext.getAttribute("meetingminutes").setValue(templateText);
but since I installed the managed version (and now also v2.4) the D365RichtTextEditor won't show the update text.

Am I missing something? Or is the control not aware of any change?

Control doesn't behave like other built-in controls

  1. Control doesn't respect "Number of Rows" setting (Formatting tab) and its height grows with content. Minor issue and I understand that this is probably impossible to implement...
  2. Control doesn't support disabling. BIG issue, especially for Inactive records (it is still possible to change & save data in this control even if the entire form is disabled). PCF supports this - please implement.

Characters disappearing while entering text

I am noticing an issue where characters disappear while typing. In the linked video, you will see that at around the 24 second mark, I enter the word "woman" and it changes it to "womn". I have seen this happen with alphanumeric characters and spaces, on multiple machines, and it gets worse the faster you type. It seems like perhaps an issue with the events for update view and text changed, where asynchronously the value in the text box is getting changed back to what it was milliseconds ago.

https://tylereriksandllc-my.sharepoint.com/:v:/g/personal/tyler_ts_solutions/EZen5YnTB7ZHpCMY-qa50PwBaLcxDiSrK7pijkH6qNzCJA?e=ddCZZO

Request for nested lists

Hi
Thanks for your awesome Rich Text Editor, our users are enjoying it's simplicity. They have requested however, would it be possible to have nested lists?

e.g.

  1. Item1
  2. Item2
    • Item2.1
    • Item2.2
  3. Item3

Thanks

Not Actually Rich Text Format

I think it's fair to say this controller outputs html format, and not the windows RTF (Rich Text Format)
Unless I am missing something?

Control doesn't become read-only when the form becomes read-only

I am using javascript to change the forms state (Active -> Inactive) or (Inactive -> Active).

Xrm.WebApi.updateRecord('entity_name', primaryControl.data.entity.getId(), {
    statecode: 2, // Inactive
    statuscode: 2 // Inactive
}).then(() => {
    formContext.data.refresh(true);
});

On success I refresh the form, all of the other controls on the page change to the appropriate edit mode (Editable or Read-only) but this control does not. If I refresh the page using F5 the control then has the correct edit mode.

This is happening in v2.5 (I saw Issue #4 said this was fixed in 2.2 but still seems to be an issue.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.