Is there a way to reduce the size of the text in slack messages just the way we have ways to make the text bold/italics?
For version 4.10.1 the best I was able to come up with was superscript. I typed out my text in a word processor, turned it into superscript, and copy/pasted it back into Slack. This is what it looked like. It's quite small.
No. The Slack markup does not include a feature for changing the font size. Your only formatting options are:
Bold
Italic
Strike-through
Quotes
Inline Code
Lists
See Message Formatting (API docs) and Format your messages (Help Center) for more details.
Another thought: If your aim is to reduce the size of your overall message appearing in a Slack channel I would suggest taking a look at attachments. Those will automatically be shortened and shown with an "Show more" option if its text exceeds 700 chars.
Related
I am using Adobe Flash Media Server. I am trying to do one 2 one video chat with clients exchanging text messages back and forth. I want to alternate different text colors such as red and blue to stand out well. I tried using css but it changes all the text colors not just each message.
Can find any examples at all in ActionScript. Please can somebody point me in the right direction?
Thanx in advance
I think you might need to add some source code of stuff you've already tried.
In general though, any text formatting, including colours, can be done via TextField.setTextFormat();
Also look at the TextFormat class.
In the rich text field I choose Full alignment, but when previewed the text has left alignment. When I close and reopen the document, the text is brought back to left alignment.
How can this be resolved?
If I understand you correctly, you have a Notes Form with a Rich Text field, in which you align the text "justified", as in the screenshot below:
But if you view that in a Xpage, the text is no longer justified, neither in the read-only rendering, nor in the edit-rendering with the CKEditor:
Alas, if you align the text justified via the CKEditor, it renders properly in the browser
with an "interesting" rendering in the Notes Client:
This is a "known" problem and in my demo case, the Xpages runtime engine even warns me about that:
"Saving this document will change its format from native Notes rich text to HTML. This may cause a change or loss of formatting if opened again in the regular Notes client."
The conversion of rich text to HTML and vice versa is not the whole problem, even though the message says that. There are also issues with repeated conversions back and forth changeing font sizes, loss of certain colors and styles, etc.
This is a long standing issue with Ben Langhinrichs, who documents that rather thoroughly and even sells an extension to handle that conversions better.
Hope this helps a little bit.
I am using v8.5.3 and in the All Properties of the CKeditor they have a property called 'htmlConversion Warning' that you can set to 'noWarning' which seems to prevent the Saving this document message mentioned above. Seems someone from IBM has taken a note from Microsoft on providing a solution. Now if only they would take a note from them on how to market the product.
I have a grid of text boxes in my Flex 4 app that loads an xml file and displays whatever is written there. The number of boxes won't change, but the text inside them will. This is a sign that needs to be readable from a distance so I need the font to autosize to fit. So it should go large if it can, if not, it should be just large enough to display what's in the box.
I've tried RichText, RichEditableText, and TextArea and nothing seems to work. The other posts on autosizing text at Stackoverflow weren't helpful either. Does anyone know how to do this?
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
Can the browser feature of Ctrl+F to find text be integrated with text in popup windows.
I'd like to have some scientific reference information given when someone hovers over a species name in a web page. Generating the popup, tooltip style text is no problem, the problem is that anyone using Ctrl+F won't be able to find it, or if I position the text out of view when not required, it will be found but be invisible.
The same sort of effect applies to "accordion" style expanding text areas.
I'm looking for some sort of event generated when find is highlighting a result.
Unfortunately there is no such event, you can't interfere with the built-in find.
About the best you can do in this case is to provide your own search function in-page, which searches the DOM for Text nodes containing the given text, highlights them, and opens up any closed accordions they're in.
The only idea I have, is to put all the text from your popups in one additional scrollbox (maybe at the bottom of the page) with a height just large enough to display one set of detail information at a time. This way, it doesn't take up too much space on the page, and the text can still be found using Ctrl+F.