diff --git a/src/widgets.jl b/src/widgets.jl index 8734a078..e91681e3 100644 --- a/src/widgets.jl +++ b/src/widgets.jl @@ -479,7 +479,7 @@ function CodeEditor( "showPrintMargin" => false, ) user_opts = Dict{String,Any}(string(k) => v for (k, v) in editor_options) - options = Dict{String,Any}(merge(user_opts, defaults)) + options = Dict{String,Any}(merge(defaults, user_opts)) onchange = Observable(initial_source) style = Styles(style, "position" => "relative",