Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get source button to show up after latest update #40

Closed
KatieMFritz opened this issue May 4, 2018 · 2 comments
Closed

Can't get source button to show up after latest update #40

KatieMFritz opened this issue May 4, 2018 · 2 comments

Comments

@KatieMFritz
Copy link

With the update, I can't use the source plugin anymore, but I can't seem to get the source button to show up on my toolbar.

This is my current Standard.json config:

{
    "buttons": [
        "source",
        "formatting",
        "bold",
        "italic",
        "unorderedlist",
        "orderedlist",
        "link",
        "file"
    ],
    "plugins": [
        "fullscreen"
    ],
    "pastePlainText": true,
    "source": true,
    "formatting": [
        "p",
        "h3",
        "h4",
        "h5"
    ]
}

Toolbar looks like this:
screenshot-safs local-2018 05 03-21-39-32

Previous config, that worked:

{
  "buttons": ["formatting", "bold", "italic", "unorderedlist", "orderedlist", "link"],
  "plugins": ["source", "fullscreen"],
  "pastePlainText": true,
  "formatting": ["p", "h3", "h4", "h5"]
}

Is anyone else having this problem?

@KatieMFritz KatieMFritz changed the title Can't get source button to show up Can't get source button to show up after latest update May 4, 2018
@KatieMFritz
Copy link
Author

KatieMFritz commented May 4, 2018

SOLVED: The button is called html. Whoops. Not deleting the issue in case someone else comes here for the same reason.

@fab4real
Copy link

fab4real commented Nov 7, 2018

Hello, i think you should udpate the doc or the Readme because adding "html" buttons only works if there is "source" = true.

That's not explained anywhere except reading all tickets in here. (i read all documentation both your Readme and the Redactor doc and could not find the proper solution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants