React Native Text Selection (Highlight text in different colors) HTML view and custom menu - react-native

Help, I am having trouble completing the required functionality:
Highlight text (Select text and highlight in colors).
Make notes in the selected text.
I already tried almost all of the libraries available (https://www.npmjs.com/package/#astrocoders/react-native-selectable-text and
https://www.npmjs.com/package/react-native-cn-quill/v/0.7.6 etc), but had no success. Ideally, I would like to hire someone to implement the required functionality.
I have attached a screenshot to understand the functionality.
enter image description here

a little late but maybe this helps:
used:
"#alentoma/react-native-selectable-text"
to create this:
https://github.com/Domth13/React-Native-Highlight-Text

Related

How can I replace one or multiple lines in the code editor with a WebView, File Preview or an Image?

I'm trying to develop an extension that needs to render text, images and the preview of an external file in the code as a decoration. The problem is that I only can find text decoration and nothing that allows me to for example show a PNG between two lines of code without modifying the file.
Is this possible or I need to create a Custom Editor using the API? The problem of this solution is the need to integrate all the extension on the language I'm working what will take too much time.
I have seen the Comments API allows to show the reference of a text file but I can't find where is the API to generate this type of views:
The closest thing I can find is the Comments API with this sample. However, I need to add more than just text and the idea is to only show the content, nothing more.
Any guide, information or reference is highly appreciated.

MacOS react-native picker/select with search field

I am using #react-native-picker/picker on macOS to select items in a picker/select.
But graphically it's not very nice, what I would like to achieve is an effect similar to the one in the image below or something that suits the graphics of macos.
With the possibility of putting an icon next to the text, an input field that allows you to filter the results.
Can you give me some advice?
It would depend on what the library allows customization wise. However, this isn't very hard to accomplish without a package. Essentially you want to combine a text field with a flat list and use the input from the text field to filter the data in the flat list. You can then also customize the text in the text field based on what item is selected in the flat list.
Let me know if you have any questions.

Can the Font for a UWP Drag and Drop (DragUI) caption be changed?

I am implementing drag and drop for a UWP application and all is working well, except for the Font on the DragUI caption.
I have DragUIOverride.IsCaptionVisible = True and DragUIOverride.Caption = "My Text String",
but does anyone know how to change the font? My application uses a unique font and the system font stick out like a sore thumb.
(On a similar vein, I had the same issue with ToolTips, but figured out how to set a new style for ToolTip in <Application.Resources>, but I cant seem to find anything (i.e. a TargetType) for the DragUI text.)
Any help appreciated.
Can the Font for a UWP Drag and Drop (DragUI) caption be changed?
I'm afraid, you can't change the font style for DragUIOverride.Caption, currently, there is not such api to change Caption font, it was manage by the system. And you could post your requirement with windows feed back hub.
And we have a workaround that use SetContentFromBitmapImage method insert text image to replace DragUIOverride.Caption. For more please refer XamlDragAndDrop code sample

How can I make an image float or right-align in a Google Colab markdown cell?

To explain the process that is going on in my notebook code, I use markdown text boxes between snippets of code. I would like to use small images to illustrate the text (a diagram often makes text clearer).
I cannot find a way of having those images floating on the right however.
I tried adding tags with CSS styling, but Colab seems to be removing those. I tried wrapping things in , but again no luck there.
You can also use the now deprecated align attribute on the image tag.
https://html.com/attributes/img-align/
One option is to use an HTML cell with the code hidden, which is triggered by the presence of a form title. For example, create a code cell with this content:
##title Some Stuff
%%html
Here are some words.
<img src="https://www.w3schools.com/html/smiley.gif"
style="float:right;width:50px;height:50px;">
Here are some other words and there is an image floating around it.
Then execute the cell & double click on the rendered title to hide the source. The result looks like this:

SharePoint2010 content editor?

I am building a website that will make heavy use of the content editor webparts to allow for content to be added. The drawback to this is that by default the content editor provides a "Rich Text Editor" which is good for adding data but bad because it has the potential to break styling. I have two solutions :
First is to do some coding to somehow have predefined css styles added to the styles menu of the Rich text editor.
Second which should be quicker is to simply disable the Rich text editor i.e disabling the fonts, styles, etc from the Rich Text editor so that users can only enter data and not mess around with the styling.
For soultion two, is this possble and what would be the quickest way to achieve this?
Any assistance is greatly appreciated!
Thanks in advance
The whole point of the rich text editor is to allow the user to enter styled content as they see fit. If you don't want any styling to be applied through the RTE either create style rules in your CSS to overrride anything the user enters or else use content fields based on multiple lines of text rather than rich text.
Core Technology Systems has recently released a how to video on content management on SharePoint 2010. I have included a link to the website which has the link to the video and their YouTube channel.
http://coregb.com/blog/archive/2011/12/01/content-organiser-in-sharepoint2010.aspx