Comments (3)
in fact
div#pell.just a container
it will generate a div class="pell-content" and the actionbar(it is a default className) if you want to init the container innetHTML
you should document.getElementById('pell-content').innerHTML = 'fsdfsda</b/>\n'; } After your initialization
from pell.
I got it working!!! I appreciate the nudge towards the right direction.
However, I realized that the ID of the content is not 'pell-content'. That's actually the classname. So the code that wound up doing the trick looked more like this.....
var pellc = document.getElementsByClassName('pell-content'),
i = pellc.length;
while(i--) {
pellc[i].innerHTML = 'test';
}
Thanks again! .
👍 💯
from pell.
Thanks! This looks promising. I will try this tonight and share the results.
I appreciate the help!
from pell.
Related Issues (20)
- is find and replace possible? HOT 1
- Insert table command HOT 3
- Cursor Control? HOT 3
- Hi ! There's way to get div id on onChange event ? HOT 1
- Initial value? HOT 1
- Text copied with format may break the text editbor behaviour
- How to bring Pell actionbar at the bottom of editor HOT 1
- a isssue when input Chinese language HOT 2
- How to add color picker to the editor? HOT 2
- How do I set default content inside .pell-content ? HOT 3
- Can't delete custom elements HOT 3
- Can user edit previously stored content in WYSIWYG mode? SOLVED HOT 1
- Suggestion: allow the custom action icon to be a function HOT 1
- Does it support attachting base64 image ? HOT 7
- Initialization fails on hidden DIV HOT 1
- Insert HTML code into editor?
- BUG: Third party input method initial letter malposition
- DOC: Vue3.2 composition example + suggestion HOT 1
- Suggestion: different states for the buttons
- Is this project abandoned? HOT 11
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 pell.