storypioneers / kirby-wysiwyg

WYSIWYG panel field for Kirby CMS
Other
125 stars 16 forks source link

Doesn't work with images in content #44

Open colourmafia opened 7 years ago

colourmafia commented 7 years ago

I cannot drag the files from the file list into the content like you can with the default editor. If I instead just insert the image syntax (image: photo1.jpg) then all formatting disappears from the final rendered text and I just get a huge block of text (all html elements are stripped).

Anyone else having this problem and know of a fix?

chrisvasey commented 7 years ago

I am not sure if this plugin is being maintained anymore as my last pull request has not been looked at and no issues have been addressed for months but I am also facing the same issue. Looking to try and add the functionality to add images within WYSIWYG as I now have customers asking for this.

Shall update this issue after I have done this and create another pull request though not sure if it will be merged.

Maybe someone else can provide a fix for this but till then good luck :)

chrisvasey commented 7 years ago

If this is crucial to you maybe take a look at this plugin - might be able to fulfil the same function as what you need

colourmafia commented 7 years ago

Thanks @chrisvasey - I just tried that plugin but still getting the same issue. Then I tried the default editor and realised the issue remains with that - so not sure what's going on, but it's at base level!

chrisvasey commented 7 years ago

@colourmafia are you using the HTML-Minify plugin? This has been known to break the img functionality in the Kirby Panel.

On 21 Mar 2017, at 13:32, colourmafia notifications@github.com wrote:

Thanks @chrisvasey https://github.com/chrisvasey - I just tried that plugin but still getting the same issue. Then I tried the default editor and realised the issue remains with that - so not sure what's going on, but it's at base level!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/storypioneers/kirby-wysiwyg/issues/44#issuecomment-288078953, or mute the thread https://github.com/notifications/unsubscribe-auth/AHIwRI58LhC_1EvgTvOJ-jrEGwGlSx3uks5rn9GCgaJpZM4MjwW_.

colourmafia commented 7 years ago

Nope! No other plugins installed (and only script is jquery as I'm running bootstrap)

dgdsp commented 7 years ago

hi :)

unfortunately inline images are not a working feature of this plugin.

the initial maintainer, @JonasDoebertin seems to be too busy to add/fix stuff, sorry about that.

in case anyone want's to step up as maintainer, pls let me know :)

bugsysop commented 7 years ago

For drag and drop of image this was working for me (long time ago) https://github.com/storypioneers/kirby-wysiwyg/issues/27#issuecomment-190743423

In your config.pht file:

c::set('field.wysiwyg.dragdrop.kirby', true);
c::set('field.wysiwyg.dragdrop.medium', true);