Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • vcamargo 27 posts 98 karma points
    Apr 06, 2016 @ 18:23
    vcamargo
    0

    Where can I find the source code of the "Creating a Property Editor" tutorial?

    Is it hosted at Github?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 06, 2016 @ 18:35
    Jan Skovgaard
    1

    Hi vcamargo

    There is a workbook on github about creating property editors here https://github.com/umbraco/AngularWorkbook/

    There is also a tutorial here on our https://our.umbraco.org/documentation/Tutorials/Creating-a-Property-Editor/

    And there is some useful API documentation here http://umbraco.github.io/Belle/#/api

    Hope this helps? :)

    /Jan

  • vcamargo 27 posts 98 karma points
    Apr 06, 2016 @ 19:15
    vcamargo
    0

    Thanks, Jan!

    But where can I find the final code of written in here: https://our.umbraco.org/documentation/Tutorials/Creating-a-Property-Editor/ ?

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Apr 06, 2016 @ 19:17
    Nicholas Westby
    0

    All of the source code is shown on the page itself. I don't think there is a separate download available.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 06, 2016 @ 19:19
    Jan Skovgaard
    0

    I'm not sure about that - It does not seem to be referenced anywhere in the tutorial.

    I'm not sure who wrote the tutorial but I suspect that it might be Rune who made a markdown editor back in 2014 - His repo for that is here https://github.com/hemraker/Simple-Markdown - However I don't know if the tutorial is written based on this.

    So perhaps it's better to go with the workbook on github? There the tutorial and code is available in the repo.

    /Jan

  • vcamargo 27 posts 98 karma points
    Apr 06, 2016 @ 19:50
    vcamargo
    0

    Good, I'll try the workbook then, because the tutorial is not working at expected, maybe because Umbraco's recent updates. Thanks anyway!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Apr 06, 2016 @ 20:10
    Jan Skovgaard
    0

    The tutorial is newer than the workbook so the examples should be working. But what kind of issues are you having?

    Have you checked the browsers console log to see if it reveals any error messages?

    And have you made sure to set the debug attribute in the web.config to true?

    If not the changes you make will most likely not appear since the backoffice resources are cached pretty hard. So it's important to set this setting to true. Even though it's been set to true it's sometimes also necessary to empty the browser cache to see the changes made.

    /Jan

  • vcamargo 27 posts 98 karma points
    Apr 06, 2016 @ 20:45
    vcamargo
    0

    Well the console prompted lots of 404's and as I'm no angular expert I couldn't debug that by myself. But I couldn't see any markdown editor in my content editor. Don't know why though. Will give the workbook a try.

    The debug attribute is set to true indeed. And I have also set chrome to disable cache while I'm with the developer tools open.

Please Sign in or register to post replies

Write your reply to:

Draft