[elm-discuss] WYSIWYG functionality

2017-04-11 Thread Michael Lebow
I'm working on something that requires some WYSIWYG editor like functionality. The way I'm thinking about it is inspired by the Basecamp Trix editor and the Medium editor. Capture input events, create an internal model representing the content, and then re-render. (Avoiding execCommand and t

Re: [elm-discuss] Re: Responsive/Mobile styles for package.elm-lang.org

2017-04-11 Thread Chad Woolley
I think it would be a great idea as well, I originally read the elm tutorial on my phone. On Tue, Apr 11, 2017 at 2:03 PM, Martin Liberg wrote: > That's exactly my point. You might be commuting to work, reading up on > some Elm news and end up on the package site. It's just nice if it's easier >

Re: [elm-discuss] Re: Responsive/Mobile styles for package.elm-lang.org

2017-04-11 Thread Martin Liberg
That's exactly my point. You might be commuting to work, reading up on some Elm news and end up on the package site. It's just nice if it's easier read stuff on the phone. :) On Tue, 11 Apr 2017 at 19:09, Tolga Paksoy wrote: > I would be very interested in this. Often I look at Elm Slack, and rea

[elm-discuss] Re: Call of init function behaviour

2017-04-11 Thread Oliver Dunkl
Thank you for your reply. I have solved my problem after looking hours and hours on my code :) The problem was that I had a button that calls to the backend which I described in my question and the problem was that the button was in a Html.form. Apparently it will first trigger the action and t

[elm-discuss] Re: Call of init function behaviour

2017-04-11 Thread Zoltan Temesvari
First of all, you're right: "init" is a function like everything else in Elm. Even "Model" is a function (a constructor) if you defined it as "type alias". However, no function is triggered automatically in Elm, unless you trigger them. Init is typically called in the "main" function but it can

[elm-discuss] Usage of "/_changes" URL in elm-reactor

2017-04-11 Thread Tolga Paksoy
Lately I've been really craving/looking into hot reloading in Elm. I know things like `elm-hot-loader` exist, but it is not as refined as, say, something like Figwheel. So I've been looking into elm-reactor and I noticed there is a websocket endpoint called "/_changes". As far as I can tell, it

[elm-discuss] Re: Responsive/Mobile styles for package.elm-lang.org

2017-04-11 Thread Tolga Paksoy
I would be very interested in this. Often I look at Elm Slack, and read up on Elm as I'm on the move, but package.elm-lang.org is not really mobile friendly. Any effort towards this would bring happiness to me. -- You received this message because you are subscribed to the Google Groups "Elm D

[elm-discuss] Re: Responsive/Mobile styles for package.elm-lang.org

2017-04-11 Thread Martin Liberg
No interest in this at all? On Thursday, April 6, 2017 at 3:41:38 PM UTC+2, Martin Liberg wrote: > > Hello! > > I'd like to make package.elm-lang.org more nice to view on a mobile > device. Is this something we want? > > >