question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Init On Image" not working

See original GitHub issue

https://www.froala.com/wysiwyg-editor/docs/examples/init-on-image This functionality causes problems because the directive requires ng-model to insert html. This creates a another <p> element with the content from the ng-model, all this wrapped in the <img />. Even if I init the <img /> with a static src, as soon as I want to replace the image the src will be removed. What works is to add a ng-src and feed it with the new file location. This cannot be the right solution.

The basic question is: How can I use <img froala /> instead of <textarea froala ng-model="myHtml"></textarea>?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
fireolecommented, Aug 13, 2016

That worked thanks much!!! You guys are awesome!

1reaction
florinpopescucommented, Aug 12, 2016

That was fixed here https://github.com/froala/wysiwyg-editor/issues/1425 It is not released yet but you can include it manually till the next release 😃 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image not being initialized - java - Stack Overflow
I am makin a tic tac toe game. My circle image does not initialize and shows out of memory error. It shows this...
Read more >
Kernel cannot find init in initramfs image - Unix Stack Exchange
I'm using a cpio file, so initramfs, but I'm trying to load it separately (not a part of the kernel image) and I'm...
Read more >
Image requirements — Virtual Machine Image Guide ...
For this to work, your virtual machine image must be configured to download the ssh public key from the OpenStack metadata service or...
Read more >
Init Containers | Kubernetes
Init containers can contain utilities or setup scripts not present in an app image. You can specify init containers in the Pod specification ......
Read more >
Displaying Images — Ren'Py Documentation
The image statement is run at init time, before the menus are shown or the start label runs. When not contained inside an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found