Comments (3)
from drawflow.
Hello
Thanks!
There is currently no method. Maybe in the future.
Since when updating the html content, the data values would also have to be updated.
You can also update the html as mentioned in: #40
You will probably also need: #43
from drawflow.
It's been a long time this issue is closed but facing the same issue I managed a workaround that looks a lot simpler to me.
You can do this with pure JS since the node is simply a div.
What I made from an angular app is something like this (simplified):
@ViewChild('editor')
editorElementRef: ElementRef;
updateNodeHtml(nodeId: number, content: string): void {
const nodeContainer = this.editorElementRef.nativeElement.querySelector('#node-' + nodeId + ' .drawflow_content_node');
nodeContainer.innerHTML = content;
}
// ....
this.updateNodeHtml(1, '<h1>MyNewNodeContent</h1>');
from drawflow.
Related Issues (20)
- How to Name a Port HOT 3
- How to use scroll bar HOT 3
- How to Change the Input-Output Line Color HOT 3
- Import Data with key different issue HOT 1
- select2 implementation HOT 2
- onClick on stroke of the path HOT 2
- Can connection path change color according to a boolean data? HOT 1
- Modal text input is broken HOT 3
- Ability to have "fixed" items but still translate canvas? HOT 9
- Is this repository is still maintained? HOT 4
- iPhone can´t delete modules HOT 5
- Error offsetWidth HOT 1
- Could you explain better the node data function? HOT 2
- missing nodeDataChanged event in TypeScript
- How to restrict the add connection manually HOT 1
- Verticle Connected Lines are not showing it will convert in horizontally after saving HOT 7
- Issue with dynamically adding then removing output_1, output_2 HOT 23
- Import data - Custom output node id ( not sequential ) error HOT 2
- Chatbot flow HOT 3
- Change Import HOT 2
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 drawflow.