Rich HTML control to use in SPFX webpart which will have all the Ribbon controls of a CEWP

%3CLINGO-SUB%20id%3D%22lingo-sub-148796%22%20slang%3D%22en-US%22%3ERich%20HTML%20control%20to%20use%20in%20SPFX%20webpart%20which%20will%20have%20all%20the%20Ribbon%20controls%20of%20a%20CEWP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-148796%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Folks%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20a%20requirement%20to%20give%20some%20html%20templates%20and%20as%20a%20Web%20part%20which%20should%20also%20have%20the%20rich%20HTML%20ribbon%20functionality.%20As%20part%20of%20it%20in%20SP%202013%20we%20inherited%20Content%20Editor%20Web%20Part%20(CEWP)%20and%20did%20our%20customization%20to%20achieve%20the%20functionality.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESimilarly%20if%20we%20want%20to%20replicate%20same%20functionality%20in%20SP%202016%20using%20SPFX%20Web%20parts%20is%20there%20a%20way%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20tried%20using%20FCK%20text%20web%20part%20from%26nbsp%3B%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOlivierCC%2Fspfx-40-fantastics%22%20data-pjax%3D%22%23js-repo-pjax-container%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Espfx-40-fantastics%3C%2FA%3E%26nbsp%3B%3C%2FSTRONG%3Ebut%20it%20is%20working%20only%20in%20SP-Online%20but%20not%20for%20SP%202016%20On-premise.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20suggest.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20in%20advance.%3C%2FP%3E%0A%3CP%3EPhanindra.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi Folks,

 

We have a requirement to give some html templates and as a Web part which should also have the rich HTML ribbon functionality. As part of it in SP 2013 we inherited Content Editor Web Part (CEWP) and did our customization to achieve the functionality.

 

Similarly if we want to replicate same functionality in SP 2016 using SPFX Web parts is there a way?

 

I tried using FCK text web part from spfx-40-fantastics but it is working only in SP-Online but not for SP 2016 On-premise.

 

Please suggest.

 

Thanks in advance.

Phanindra.

0 Replies