Code Monkey home page Code Monkey logo

richtext's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

richtext's Issues

Set background color

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

Compiling instructions

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?

suggestedHeight for parent element

I'm adding a RichText element to some TableViewRows. 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!

Richtext no longer calculates height properly

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?

Build Succeeded but once in application fails to run

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.