Anchor links using Alloy rich text editor - text

I am working on an app that is using the alloy rich text editor.
I need to implement anchor links with this text editor but didn't find anything on the internet about how I could do this.
Does anyone tried and implemented this? Some tips would help me

Related

Sublime Text 3: bold text in plain text mode

I'm pretty new in Sublime Text 3, and I know it allows for a wide customization.
I would like to know how I could make some part of the text bold, italic or underlined, or even coloured, when I'm writing a plain text. It may sound dumb, but I have no idea how to do it and whether I can do it.
Thank you!
Your best bet is to use the MarkdownPreview plugin combined with the LiveReload plugin to display Markdown text written in Sublime as HTML displayed in your web browser. Unfortunately there isn't anything at this time that can display rendered HTML or Markdown in Sublime itself.
EDIT Apparently there is also MarkdownLivePreview, which I wasn't aware of before. I haven't tested it yet, but it's very popular, so you might want to try it.

Kentico Smart Search Button with Font Awesome icon

Im very new to kentico development wise and I'm trying to work to a design given to me.
I'm currently trying to tie up the smart search web part to show as a text input with a font awesome search icon as the button (with no button text). Is there any easy way to do this? Or should I resort to making a copy of the Smart search control and extending it out?
The html designed has just
<button type="submit"><i class="fa fa-search"></i></button>
is there an easy way to put this into a new layout for Smart search?
Thank you Andrew
You could use a web part before and after to wrap web part code html and class wrapper and than apply the style to the button via CSS
In most of the cases, you could benefit from custom web part layout:
https://docs.kentico.com/k11/custom-development/developing-web-parts/using-custom-web-part-layouts
But smart search in this case does consist of two controls which are kinda buried inside so to insert this to control directly (CMSModules\SmartSearch\Controls\SearchDialog).
Solution 1: you can apply this by adding a custom layout for the smart search but I am not sure this will work
Solution 2: clone the web part and modify the Html as needed

Having Trouble Locating Underlying Document Interface for VS AddIn

When opening a new coding document in Visual Studio I would like add a watermark to the document/page. I have found the interfaces to interact with document's text selection object.
http://msdn.microsoft.com/en-us/library/vstudio/envdte.document.aspx
I've discovered interfaces for font and color of text.
My question is can anyone point me in the right direction for interfacing with the underlying editor so I can add a watermark?
You can add an adornment layer with your watermark image. See Editor Extension Points (Adornments) documentation and VSEditorBackgroundChangerExtension source code.

Can I use multiple font style in UITextView?

I have a requirement to use multiple font style in UITextView. Like Bold, Italic and Underline text in single Textview. Like:
One word is Bold second may be italic third Underline as per user selection.
I don't think this is allowed to do but still if any one have achieved and want to share. I need this all while enter text and same while displaying.
Thanks
You're right that the standard UITextView does not support rich editing. At the moment there are a few solutions to the problem.
The Omni Group has released their iOS and Mac frameworks under an open source license. These include a very powerful rich text editor (see: OUIEditorFrame.m). These are very powerful but also extremely complex. Their sample iPad app includes the rich text editor example. Further discussion can be found here
Secondly, this guy has been working on a custom rich text editing control and is offering it under a negotiable licensing agreement.
Finally, you can do it all yourself and create an editor control that implements the UITextInput protocol. Aside from the Apple documentation, there are some tips on doing this here.
Why don't you use attributed string and use its property to set the string as you like.
Reference link : https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/AttributedStrings/Tasks/CreatingAttributedStrings.html

Sharepoint search button customization

I am working on SharePoint Branding project, where i need to change the whole sharepoint look and feel according to Clients design guidelines/Visual Designs.
happy part, most of the branding is done but still i am facing problem with SEARCH BUTTON of sharepoint. Ia m not able to replace this default button with my designed button.
any direction ll be great help
What we did was replace the delegate control of the search button with our own, using a feature. In that feature we specified our custom image for the button.
This might help - http://labs.steveottenad.com/reskin-restyle-a-sharepoint-2010-search-box/
When we customised the search box we hide the default img for the search button using css and replaced it with a new background image.
You can't replace the default button with you own search button. You can however customize it to your needs using CSS styles. I have done the same thing. You can create your custom style to override the styles from the corev15.css file.
Create you custom styles css file, reference it in your page layout and just use it.
Hope that helps.

Resources