Support » Plugin: Attachments » Passing parameters to WYSIWYG editor

  • Resolved jbx


    Is there a way to pass settings to the WYSIWYG editor that is used in the attachment fields?

    I want to use the WYSIWYG editor because otherwise in the default textarea new lines are being displayed as \n instead. However I don’t want to confuse the user and allow him to click on any of the options (tab indents, changes in CSS, colours etc.)

    Is there a way to hide all the buttons for the WYSIWYG editor for attachment fields?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jonathan Christopher


    I will definitely check into the \n issue and also make a note too add a hook to allow you to customize the WYSIWYG field, but will need to check into the feasibility of that. Keep an eye out in the next release.

    the WYSIWYG editor in the field caption would allow the use of this plugin for other purposes, for example the creation of a mini catalog on a page.
    It would be a very important upgrade.

    There is a HUGE problem with new line (\n) when updating post/page that is being automatically added without even clicking in the field.

    Plugin Author Jonathan Christopher


    @premagraphic: you can customize the field type for each field, please check out the docs

    @eoslover: if you’re able to provide a more elaborate bug report it makes a fix much easier. I’m not sure what you mean when you say “without even clicking the field”. Can you post back with some more details to fully replicate the issue? I have a number of issues I’m working through with the WYSIWYG field and hope to address them soon, in the meantime I am more than willing to review user contributed pull requests.

    Plugin Author Jonathan Christopher


    Version 3.5.2 fixes this issue.

    Thank you, looking in the documentation I found the solution, wonderful!

    maybe I’m going off topic, but I have another question:
    I tried to insert a shortcode of WP-Filebase in wysiwyg, but it did not work.

    I am using “Attachments” to create a mini-catalog of products on the same page,
    you can enter for each node 2 or more attachments: one for the photo and the other for downloadable files?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Passing parameters to WYSIWYG editor’ is closed to new replies.