pegli / richtext Goto Github PK
View Code? Open in Web Editor NEWRich text extensions for Titanium
Rich text extensions for Titanium
Hi,
Is it possible to open URL's?
Is it possible to set the background color of the richtext area? I've tried setting the body, wrapping it all in a div and setting the color on that, but all I get is white.
Thank you
First of, thanks so much for this module. This is awesome.
I'd like to mess around with the source code but am having trouble compiling because of lack of instructions (re: dependencies too). Any advice on what to do?
I'm adding a RichText element to some TableViewRow
s. However, I'd like the TableViewRow
to have the height of the RichText
element. I've tried setting the height parameter for TableViewRow
to 'auto'
and to Ti.UI.SIZE
but both to no avail.
So I'm looking into setting the height parameter of the TableViewRow to something like richtextelement.suggestHeight()
before adding the elements to the view/window. Similar to this solution: http://developer.appcelerator.com/question/147190/ios-fix-to-calculate-the-label-height
Does your module already support something that solves this issue? This method seems to be close to what I'm trying to do, but don't know how to use it: https://github.com/pegli/RichText/blob/master/mobile/ios/Classes/ComObscureRichTextRichTextView.m#L61
If not, would the above solution be compatible? If so, can you please look into my earlier submitted issue #6 so I can play around?
Thanks!
Testing on latest sdk's and os's it appears that richtext no longer calculates the height property itself, lines are cut off. I see DTCoreText is a higher version, is it worth seeing if updating to their latest version resolves any recent issues?
I have managed to successfully build a module from source, (had to fix a spelling error in CoreText). But Titanium keeps saying it cannot load it, even though I have included it correctly, clean the build directory etc.
Whats interesting is this line:
[DEBUG] loading: /Users/iantearle/Library/Application Support/iPhone Simulator/5.1/Applications/DB4A6ABC-F06B-4F39-BE76-064C41803ACF/Heritage.app/com.obscure.RichText.js, resource: com_obscure_RichText_js
[WARN] Exception in event callback. Couldn't find module: com.obscure.RichText
.js? there is no RichText.js?
Are you able to shed any light on the situation or provide a compiled module?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.