Comments (3)
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.
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.
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)
- backspace to delete newline broken HOT 4
- _checkRegexes throws an undefined nodeValue exception on paste over selection.
- External data source for @ or # HOT 9
- Converting [o={data-value}]? HOT 3
- NotFoundError: Failed to execute 'insertNode' on 'Range': The node provided is null HOT 7
- Up/Down arrow doesn't work in bootstrap modal HOT 11
- what is the best solution to indentity diffirent id type in value ? HOT 5
- Implement placeholder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rich_textarea.