1
vote
1answer
162 views

Inserting ordered or unordered lists in custom rich text editor breaks the dom

I have a div that is part of a custom web part. Once a user clicks an edit-button I want the div to turn into a rich text field to allow the user to edit the contents as they would edit any rich text ...
2
votes
2answers
751 views

Created a custom image uploader for the Rich Text Editor, but how do I insert the image?

Some background: I have created a custom image uploader for my rich text editor. I feel like I have taken the functionality most of the way, currently it can: Upload the image to another server ...
4
votes
1answer
1k views

SharePoint RTE: How to attach to mousedown events (like bold, italic does)

When clicking on bold text in the RTE (rich text editor), magically the ribbon button for bold: get's activated. The same happens for the other format option buttons you can see on the screenshot. I ...
3
votes
0answers
223 views

Alternative to hook into RTE javascript [closed]

I'm looking to add some logic when a HTML element (input, button, .. but no regular text) is clicked inside the RTE control on a publishing page. One of the solutions I've been thinking about is ...
2
votes
1answer
736 views

SPListItem removing HTML attributes?

I want to add this to an SPListItem HTML field (Multiline text) <a href="#" onclick="OpenDispPage('Table 1.1', 'table');" >Text</a> and this is what SharePoint makes out of it when I ...