immense / immense/knockout-tinymce

Binding not working when there are two editors

Open
#11 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I have these two editors on my layout:
https://s8.postimg.org/g4l4cdm5x/Untitled.png

But when I try to set the value from my ViewModel, it's not working and the text is not printed in UI. I set the value with this line:
`self.value('This is my description...');`

And it doesn't work, doesn't appear the text...
However, when I use **only one editor**, the value is printed in the editor...

Any idea?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the layout with two editors and the ViewModel assignment `self.value('This is my description...')`; compare it with the one-editor case described in the issue. Inspect the binding path that connects the ViewModel value to each editor and verify that both instances receive updates. Done means the text appears in the intended editor when two editors are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.