Giter VIP home page Giter VIP logo

Comments (3)

chandrewz avatar chandrewz commented on July 18, 2024

Ah...got it within seconds after posting this question:

$( '#RICH_TEXTAREA' ).rich_textarea( 'insertObject', '<span class="ui-button ui-state-default ui-widget ui-corner-all ui-button-text-only">Tag1</span>', 'tag1' );

from rich_textarea.

chandrewz avatar chandrewz commented on July 18, 2024

Hi Yermo, if you get a chance to read this, is it possible to insert objects such as this?

$('#rich_textarea').rich_textarea('insertObject', '​​Visit Google​');

I am noticing that inserting normal text mixed with html-rich text has to be done separately. The above line only inserts 'Visit ' I have to call insertObject twice, on 'Visit ' and then a second time with 'Google'.

from rich_textarea.

Yermo avatar Yermo commented on July 18, 2024

Put it in a or

tag or similar.

-- Yermo

On 09/10/2014 11:56 AM, Andrew Chan wrote:

Hi Yermo, if you get a chance to read this, is it possible to insert
objects such as this?

$('#rich_textarea').rich_textarea('insertObject', '​​Visit Google
http://google.com​');

I am noticing that inserting normal text mixed with html-rich text has
to be done separately. The above line only inserts 'Visit ' I have to
call insertObject twice, on 'Visit ' and then a second time with 'Google
http://google.com'.


Reply to this email directly or view it on GitHub
#4 (comment).


Yermo Lamers Software Guy, Motorcyclist and Reluctant Writer

            http://miles-by-motorcycle.com

A social network for the lucky few who travel by motorcycle

and those who care about them.

from rich_textarea.

Related Issues (9)

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.